Skip to content

Instantly share code, notes, and snippets.

@akumbhani66
Created October 11, 2022 08:02
Show Gist options
  • Save akumbhani66/3a2329402d276f94b6b87e92ae5e5fd3 to your computer and use it in GitHub Desktop.
Save akumbhani66/3a2329402d276f94b6b87e92ae5e5fd3 to your computer and use it in GitHub Desktop.
change author of commit
git config --global user.email abc@abc.com
git rebase -i --root
git commit --amend --reset-author --no-edit && git rebase --continue
git push -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment