git 설정에 대해서 정리한다.
참고로 참고 사이트를 보면 설정할 수 있는 정보가 겁나게 많다.
# 사용자 정보 설정 |
$ git config --global user.name "jhhwang" $ git config --global user.email jhhwang4195@gmail.com |
# 출력 색상 변경 |
$ git config --global color.ui auto |
# diff 도구 설정 |
$ git config --global merge.tool vimdiff |
# git config를 이용한 설정 확인 |
$ git config --list user.name=jhhwang user.email=jhhwang4195@gmail.com color.ui=auto push.default=simple merge.tool=vimdiff core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true |
# ~/.gitconfig 파일 확인 |
[user] name = jhhwang email = jhhwang4195@gmail.com [color] ui = auto [push] default = simple [merge] tool = vimdiff |
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
저는 IT 기술에 대해 관심이 많고, 기술적인 토론하는 것을 매우 좋아합니다^^ github following 해주시면 정말로 감사하겠습니다^^ github: https://github.com/jhhwang4195 어떠한 댓글이든 환영합니다^^ 댓글 좀 달아주세요^^ (구걸 모드) |
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
이 글이 도움이 되셨다면 아래에 있는 "♡공감" 버튼을 클릭해주세요
'버전 관리 > git' 카테고리의 다른 글
[TIP] .gitignore 정리 (0) | 2017.12.18 |
---|---|
[TIP] git author 정보 관리 (0) | 2017.12.18 |
[TIP] git .bash_aliases (0) | 2017.12.18 |
[TIP] git 명령어 정리 (0) | 2017.12.18 |
[TIP] git 설명서 및 학습 정보 정리 (작성중..) (0) | 2017.12.18 |