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 |