Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aboutandre/3a052c46b72564b927541bfc0dfe87fb to your computer and use it in GitHub Desktop.
Save aboutandre/3a052c46b72564b927541bfc0dfe87fb to your computer and use it in GitHub Desktop.
Change last commit author
git commit --amend --author "Stephen Way <way.stephen@gmail.com>" --no-edit && \
git rebase --continue
...
git push origin master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment