Created
October 29, 2018 08:44
-
-
Save MarioBinder/f39ee856a585c0a0196f93984b9b0273 to your computer and use it in GitHub Desktop.
How to make Git “forget” about a file that was tracked but is now in .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
| git rm -r --cached . | |
| git add . | |
| git commit -am "Remove ignored files" | |
| //via https://stackoverflow.com/a/19095988/119109 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment