반응형
author/committer로 남는 이름 등의 설정은 git config 명령어 통해서 확인/변경 가능
git pull/push 등 권한은 git Repository와 인증 정보(user, password 등 인증 방식에 따라 필요한 인증정보는 달라질 수 있음)가 있어야 함
설정확인
- git 설정 전체 확인하기: git config -l 혹은 git config --list
- git 설정 이름만 확인: git config --global user.name
- git 설정 이멜만 확인: git config --global user.email
git config manual
- 영어:https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
- 한글:https://git-scm.com/book/ko/v2/Git%EB%A7%9E%EC%B6%A4-Git-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0
git config한 것 삭제하기: --global을 빼고해도 되지만 그러면 완전히 삭제안될수 있음
- git config --unset --global user.name
- git config --unset --global user.email
git config 설정
- name 수정: git config (--global) user.name '이름'
- mail 수정: git config (--global) user.name '이멜'
- 전체 수정: git config (--global) -e = git config (--global) --edit
윈도우 환경에서 git 자격증명 변경
- 제어판 - 사용자 계정 - 자격 증명 관리자
- Windows 자격 증명
- 일반 자격 증명
- git 관련 자격 증명 편집
참고: https://yunseul-light.blogspot.com/2017/08/github-windows-git.html
반응형