Last active
February 14, 2022 15:26
-
-
Save EricBatlle/1b8fcfe30a3d793f19890ced2e86915b to your computer and use it in GitHub Desktop.
When .gitignore is updated, some files can still be tracked, so this will reset that tracked files
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 "Fixed untracked files" | |
git rm -r --cached . && git add . && git commit -m "Fixed untracked files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment