
Git: 사용자와 이메일 정보 설정 및 확인하기-git config
·
Computer/Linux
시작하기기본적으로 git 에서 명령어를 실행은 다음과 같음.git 명령어 -옵션(or --옵션) 인자git 에서 모든 설정은 사용자에게 global하게 적용되는 것은 .gitconfig 에 저장되고, 프로젝트별로 적용되는 것은 해당 프로젝트 루트 밑의 .git/config에 저장됨. 종류는 다음과 같음System config: /etc/gitconfigGlobal config: ~/.configLocal config: [프로젝트루트디렉토리]/.git/config이를 git config 명령어로 편집가능함git config --global ... # global설정 처리git config ... # 해당 프로젝트 설정 처리git config list --global # global 설정 확..