파일 형식
- 창고 레벨 (현재 유효한 창고) 지역
- 사용자 수준 (현재 사용자) 글로벌
- 시스템 레벨 (글로벌 시스템 활성화) 시스템
시스템 레벨 구성
git config --system user.name 'JiYu'
git config --system user.email '[email protected]'
- 망할 놈의 구성 정보는 디렉토리의 / etc / gitconfig 파일 설치에 저장됩니다
사용자 수준 구성
git config --global user.name 'JiYu'
git config --global user.email '[email protected]'
- 구성 정보는 C에 저장됩니다 : \ 사용자 \ 관리자 디렉토리를 .gitconfig에서
창고 레벨 구성
git config user.name 'JiYu'
git config user.email '[email protected]'
- 구성 정보는 현재 디렉토리 .git / 설정에서 아래 창고에 저장된다
보기 구성 정보
git config --local -l
프로필 수정
git config --local -e