Git rebase change author?

This question already has an answer here:

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

    28 answers

  • Git list all commits pushed from specific machine
  • How to add collaborators to openshift git repo
  • permission denied when cloning from GitLab repo hosted on an Amazon EC2 instance
  • Weak Key error on Github, with 4096 RSAkey generated with C#
  • git svn dcommit fails with “Incomplete data: Delta source ended unexpectedly”
  • brew doctor Warning: How to add git to PATH?
  • Git push rejected after cloning
  • Capistrano release not publishing
  • How to abandon changes?
  • How git makes branching not to be feared?
  • git --set-upstream-to is ignored and other branches are pushed
  • Automatically add remotes that do not exist based on a pattern
  • One Solution collect form web for “Git rebase change author?”

    You can use interactive rebase. The answer from this post gives you an example:
    Change commit author at one specific commit.

    The author asks for changing author at a specific commit, but interactive rebasing can be used to change authors of multiple commits if you edit all commits that you wish to change.

    Other potential useful techniques related to interactive rebasing could be found in the Pro Git book, including squashing, redordering, editing messages, etc.

    Git Baby is a git and github fan, let's start git clone.