728x90
1. 전역 설정 (Global Configuration)
모든 저장소에 동일한 이름과 이메일을 적용하려면 다음 명령어를 사용하세요:
git config --global user.name "Your Name" git config --global user.email "your.email@example.com"
2. 특정 저장소 설정 (Repository-Specific Configuration)
특정 저장소에서만 이름과 이메일을 설정하려면, 해당 저장소 폴더로 이동한 후 다음 명령어를 실행하세요:
git config user.name "Your Name" git config user.email "your.email@example.com"
3. 설정 확인하기
설정이 제대로 되었는지 확인하려면 아래 명령어를 사용하세요:
- 전역 설정 확인:
git config --global --list
- 현재 저장소 설정 확인:
git config --list
728x90
반응형