Git

프로젝트 별로 git author, commiter를 수정하는 방법

milliwonkim 2022. 9. 20. 19:01
반응형
SMALL

git init 후에

code .git/config

// .git/config

[user]
    email = you@example.com
    name = my name

* 가장 처음 커밋은 되돌릴 수 없는 것으로 알고 있음 => 이럴 경우 rm -rf .git 후 다시 code .git/config를 해서 프로젝트 내부의 .git 파일에 유저 정보를 적은 후 커밋하기

rm -rf .git

git init

code .git/config

// .git/config
[user]
    email = you@example.com
    name = something
반응형
LIST