머신러닝과 기술적 분석

우분투에서 Git 설치 및 설정 방법 본문

카테고리 없음

우분투에서 Git 설치 및 설정 방법

BetterToday 2017. 8. 16. 23:18
728x90

우분투 14.04 에서 git을 설치하고 기본 configuration 을 설정하는 방법을 알아본다.

1. Git 설치

터미널에서 아래와 같은 명령으로 설치할 수 있다.

sudo apt-get install git

2. username 과 email 설정

터미널에서 아래와 같이 입력한다.

git config --global user.name "username"
git config --global user.email "emailid@gmail.com"

이렇게 설정을 해두면 git commit 할 때 username 과 email 이 설정해둔 정보로 입력된다.

728x90
반응형
Comments