Created
September 14, 2018 04:31
-
-
Save mah0x211/44434125fa9bb0ac731d678b5a8941a7 to your computer and use it in GitHub Desktop.
Memo:Git で歴史の書き換え
This file contains hidden or 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
| # rewriting content history | |
| git filter-branch -f --tree-filter <script> --tag-name-filter cat -- --all | |
| # rewriting commit message history | |
| git filter-branch -f --msg-filter <script> --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment