git 특정 폴더만 다른 사용자

먼저 지금 설정되어 있는 user name 과 user email을 확인하자

git config user.name
git config user.email

바꿔야 하는 상황이 맞다면, 아래 코드를 입력하여 변경한다.

git config --local user.name "insik" 
git config --local user.email "nis@naminsik.com"
--local 로 옵션 주어 설정한다.
변경하였으면 그 폴더에서 맨 뒤에 확인하는 코드로 제대로 적용되었는 지 확인한다.

Subscribe
Notify of
guest

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.

0 댓글
Inline Feedbacks
View all comments
TOP