https://stackoverflow.com/q/61599585/4295499

git은 author, committer가 따로 있습니다. 보통은 둘이 동일하지만, 리베이스를 한다든지 여러 이유로 달라질 수 있습니다.

~~ authored and ~~ committed on ~

그럼 깃허브에서는 이렇게 나오게 되는데요, committer를 바꾸고 싶다면 리베이스 후 커밋할 때 --amend --reset-author를 해줘야 합니다.

git rebase -r <some commit before all of your bad commits> \
    --exec 'git commit --amend --no-edit --reset-author'

 

참고

 

How do I change the author and committer name/email for multiple commits?

How do I change the author for a range of commits?

stackoverflow.com

 

반응형