이미 commit 및 push 한 revision 의 저자명을 바꿀 필요가 있어서 검색해 봤다.

역시나 정리를 잘해놓으신 분이 있으셔서 링크를 건다.

 

https://madplay.github.io/post/change-git-author-name

 

MadPlay's MadLife.

git commit author 변경 (커밋 작성자 변경하기)

madplay.github.io

* 3줄요약

1. git rebase -i -p {커밋 hash값} 

커밋 hash값 이후 부터 를 대상으로 한다. 맨처음 부터를 대상으로 하려면

git rebase -i --root

 

2. pick -> edit

 

3. git commit --amend --author="저자명<이메일>"

 

4. git rebase --continue

 

5. git push origin +master

+ Recent posts