자주 사용하는 git 명령어 모음


[환경 설정 보기]

git config --global --list 



[사용자명 등록 (필수)]

git config --global user.name <사용자명>


ex : git config --global user.name gilgil



[이메일 등록 (필수)]

git config --global user.email <이메일주소>


ex : git config --global user.email gilgil@gilgil.net



[gitlab ID 등록 ]

git config --global credential.https://github.com.helper wincred

git config --global credential.https://github.com.username <아이디>


ex : git config --global credential.https://github.com.username snoopspy



[gitlab 암호 등록 ]

git config --global credential.https://gitlab.com.password <암호>


ex : git config --global credential.https://github.com.password 1234



[remote tag 지우기]

git push origin :tags/<tag명>


ex : git push origin :tags/release_20140101



[git cache]

git config --global credential.helper cache
ex : git config --global credential.helper "cache --timeout=360000"



[git 원격 주소 알아 내기]

git remove -v



[git ssl certificate verify 무시]

git config --global http.sslverify "false"



[git config 삭제]

git config --global --unset <variable-regex>

ex : git config --global --unset credential.https://github.com.password