Last active
July 31, 2019 23:48
-
-
Save oshiro-kazuma/793c4dae38633f1dbbed091b4acdf865 to your computer and use it in GitHub Desktop.
commiter author書き換え
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
# 2つ前のコミットまで書き換える | |
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='oshiro-kazuma'; \ | |
GIT_AUTHOR_EMAIL='kazuma.ooshiro@gmail.com'; \ | |
GIT_COMMITTER_NAME='oshiro-kazuma'; \ | |
GIT_COMMITTER_EMAIL='kazuma.ooshiro@gmail.com';" HEAD^^..HEAD | |
# 確認 | |
git log --pretty=full |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment