Skip to content

Instantly share code, notes, and snippets.

@Ketouem
Created January 18, 2016 10:10
Show Gist options
  • Save Ketouem/4c0fdc07a436ddf15a17 to your computer and use it in GitHub Desktop.
Save Ketouem/4c0fdc07a436ddf15a17 to your computer and use it in GitHub Desktop.
Change the author of a commit
git rebase -i -p <some HEAD before all of your bad commits>
git commit --amend --author "New Author Name <email@address.com>" --no-edit && \
git rebase --continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment