“git filter-branch” successfully used to change committer/author, but changes don't reflect on github

后端 未结 2 1459
渐次进展
渐次进展 2020-12-30 14:47

I recently replaced the author, committer and emails thereof in all of my local commits, using the following command:



        
2条回答
  •  天命终不由人
    2020-12-30 15:25

    What exact view on GitHub are you using to determine the author of the line? Likely it is either cached, or you are viewing something specific to the old commit SHA1.

    You can test that it worked by doing a fresh clone of the repo, and checking git blame filename for those two files. If that shows the correct author, then it worked.

提交回复
热议问题