category : 네트워크 통신

[Post] 깃(git) - 설치 및 초기 설정

writer : @blackcat date : 2022. 12. 1. 13:05

# 깃 설치

https://git-scm.com/downloads

 

# 전역 설정

$ git config --global user.name "Your Name"

$ git config --global user.email you@example.com

 

# 전역 설정을 삭제

$ git config --global --unset user.name

$ git config --global --unset user.email

 

# 개별 저장소의 설정을 삭제

$ git config --unset user.name

$ git config unset user.email

 

# 전역 설정 확인

$ cat ~/.gitconfig

[user]

name = Your Name

email = you@example.com

 

 

참고사이트
https://coding-factory.tistory.com/245
https://www.lainyzine.com/ko/article/how-to-set-git-repository-username-and-email/