Skip to content

Instantly share code, notes, and snippets.

@PROPHESSOR
Created May 2, 2022 06:09
Show Gist options
  • Save PROPHESSOR/6abeeb7f988d7a88bd274e70f8f9d938 to your computer and use it in GitHub Desktop.
Save PROPHESSOR/6abeeb7f988d7a88bd274e70f8f9d938 to your computer and use it in GitHub Desktop.
Git replace author of all commits to current author
# git config --local -e # - Edit author for current repository
git rebase -r --root --exec 'git commit --amend --no-edit --reset-author'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment