Last active
July 31, 2020 07:01
-
-
Save stefanopulze/711fd115560ffe0db7ec6b35b0b4351e to your computer and use it in GitHub Desktop.
How to remove files already added to git after you update .gitignore
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
# Update your .gitignore then | |
git rm -r --cached . | |
git add . | |
git commit -m "removed useless files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment