Created
September 4, 2019 19:34
-
-
Save gnomeria/ec1cda3db8252cda154bb1a122c34b76 to your computer and use it in GitHub Desktop.
Rewrite history by removing files/folders
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
git filter-branch -f --index-filter 'git rm -r --cached --ignore-unmatch main vendor/' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment