git 여러개 계정으로 커밋하기

jadive study·2022년 11월 3일
0

tip/에러/git

목록 보기
4/9

project와 study계정을 만들게 되었는데 commmit을 각각 계정으로 하고 싶어서 여러 자료를 찾았다

ssh등 여러개 설정할게 많아서

일단은

git config --global user.name "이름"
git config --global user.email "이메일"
git config --local user.name "현재 레포에서 사용할 이름"
git config --local user.email "현재 레포에서 사용할 이메일"

git 계정의 설정

git config --list
profile
개발 메모창고

0개의 댓글