이미 commit 된 로그에서 author 수정하기

Soso K·2021년 3월 8일
0
  1. rebase 시작
$ git rebase -i `수정하고자 하는 log의 hash값`
  1. 변경 원하는 log를 edit으로 변경 후 나가기

    pick -> edit으로 수정 후 esc -> :wq 입력

  2. git amend로 author 수정

$ git commit --amend --author="사용자명 <이메일>"
  1. git rebase 종료

** 참고 **
https://jojoldu.tistory.com/120

profile
새싹 개발자

0개의 댓글