Created
January 19, 2021 15:02
-
-
Save makomweb/93919a77c60d58da0ec8c3b0de2d5e45 to your computer and use it in GitHub Desktop.
Change committer and author of all commits in a repo
run
git update-ref -d refs/original/refs/heads/master
afterwards
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run
git rebase -i <sha1 or ref of starting point>
mark all commits that you want to change with edit (or e )
loop the following two commands until you have processed all the commits:
git commit --amend --reuse-message=HEAD --author="New Author <new@author.email>"
and
git rebase --continue