Last active
July 10, 2017 23:40
-
-
Save holmes/d5946c263ad48935dd86e662db125108 to your computer and use it in GitHub Desktop.
Change committer & author on my machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check if the committer and author email addresses are different | |
git cat-file -p HEAD | |
# If they are, change the global setting for committer/author | |
export GIT_COMMITTER_EMAIL="holmes.j@gmail.com" | |
export GIT_AUTHOR_EMAIL="holmes.j@gmail.com" | |
git commit --amend -s | |
git push holmes -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment