Dev-Basic/git
[git] repository 별로 다른 user 를 사용해야 할 때
yoonjong Park
2023. 11. 4. 20:33
1. 변경을 하고 싶은 repository를 Local 경로로 이동한다.
2. 다음과 같이 작성한다.
git config user.name "AnotherAccount"
git config user.email another@example.com
--global 옵션을 뺏기 때문에, 해당 repo에서만 적용이 된다.