Last active
April 9, 2020 17:14
-
-
Save juancolacelli/62f06d3cbe304ad492e1 to your computer and use it in GitHub Desktop.
Apply gitignore on an existing repository already tracked
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 clean -xdf | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment