$ git rebase -i HEAD~15 # change pick to edit of those you want to change
$ git commit --amend --author="tripattern <systems@tripattern.com>"
$ git rebase --continue
$ # Do the above several times until there are no items left to rebase
$ git push -f
Created
January 12, 2017 10:52
-
-
Save Yogendra0Sharma/ffd454f18265eeec52812d9dc8bc238b to your computer and use it in GitHub Desktop.
Change the name and email address of old commits to a repository
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment