如何更改一個特定提交的提交做者? - How to change the commit author for one specific commit?

問題:

I want to change the author of one specific commit in the history. 我想更改歷史記錄中一項特定提交的做者。 It's not the last commit. 這不是最後一次提交。 git

I know about this question - How do I change the author of a commit in git? 我知道這個問題- 如何在git中更改提交的做者? ide

But I am thinking about something, where I identify the commit by hash or short-hash. 可是我正在考慮某些事情,在這裏我經過哈希或短哈希來標識提交。 this


解決方案:

參考一: https://stackoom.com/question/ClTZ/如何更改一個特定提交的提交做者
參考二: https://oldbug.net/q/ClTZ/How-to-change-the-commit-author-for-one-specific-commit
相關文章
相關標籤/搜索