Created
May 8, 2020 08:06
-
-
Save licsber/df8dcceb39c84307f330227b92e627c5 to your computer and use it in GitHub Desktop.
删除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
| git filter-branch -f --prune-empty --index-filter "git rm -rf --cached --ignore-unmatch filename" --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment