How to change the author and committer name and e-mail of multiple commits in Git?

后端 未结 30 3052
野性不改
野性不改 2020-11-21 04:50

I was writing a simple script in the school computer, and committing the changes to Git (in a repo that was in my pendrive, cloned from my computer at home). After several c

30条回答
  •  北荒
    北荒 (楼主)
    2020-11-21 04:59

    When taking over an unmerged commit from another author, there is an easy way to handle this.

    git commit --amend --reset-author

提交回复
热议问题