Skip to content

Instantly share code, notes, and snippets.

@namgivu
Last active April 1, 2024 10:03
Show Gist options
  • Save namgivu/8b6c33ebf93d35c9d3b75826094f50db to your computer and use it in GitHub Desktop.
Save namgivu/8b6c33ebf93d35c9d3b75826094f50db to your computer and use it in GitHub Desktop.
git command change author of multipule commits
git rebase -r $commit_b4_allbadcommits \
--exec 'git commit --amend --no-edit --reset-author'
# ref https://stackoverflow.com/a/1320317/248616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment