Skip to content

Instantly share code, notes, and snippets.

@ebridges
Created February 11, 2013 19:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebridges/4756782 to your computer and use it in GitHub Desktop.
Save ebridges/4756782 to your computer and use it in GitHub Desktop.
git edit commit author
$ git rebase f034498fbcf4e728d022e1511d630191f2f5ee67^ --interactive
# mark each commit that needs updating with "edit" or "e"
Then, for each commit:
$ git commit --amend --reuse-message=HEAD --author="Edward Bridges <ebridges@squarespace.com>"
$ git rebase --continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment