본문 바로가기

카테고리 없음

git (1)- 초기 설정

https://git-scm.com/downloads 

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

본인 컴퓨터 환경과 맞는 git을 선택한다 

 

 

설치가 완료 되었으면 'gitbash'를 열어줍니다. 

 

cmd에서 확인해보기

git을 쳤을 때 이런 결과가 출력되면 잘 설치가 된 것이다

 

 

초기 설정으로, 본인의 이름과 이메일을 등록해줍니다.

$ git config --global user.name "이름"
$ git config --global user.email "이메일"

 

 

 

 

잘 나왔는지 확인하기

$ git config --list

제일 마지막 줄을 확인하면, 본인이 설정한 이름과 이메일이 등록되어 있음을 확인할 수 있다!!