How to credit contributions to another account for github?

This question already has an answer here:

  • Change the author and committer name and e-mail of multiple commits in Git 29 answers

  • You will need to edit past commits (this is called rebasing) on your local (stored on your computer) git repository, then force-push it to GitHub with a git push --force to overwrite the commits on your remote repository.

    As for the editing part, you may be interested in filter-branch . This SO answer gives a nice example that is related to what you aim to do.

    链接地址: http://www.djcxy.com/p/28506.html

    上一篇: Git改变了不推压提交的作者

    下一篇: 如何将捐款捐赠给另一个帐户的github?