Created
July 6, 2018 11:26
-
-
Save SpeedOfSpin/400bfd7a7199eabcb12ba078f8ab6254 to your computer and use it in GitHub Desktop.
Untrack and retrack files for Git
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 rm -r --cached . | |
git add . | |
git commit -m "untrack files contained in the .gitignore file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment