Git .gitignore Not Ignoring Previously Tracked Files
I have an Android studio project (imported from eclipse). After I did the import to Andorid studio I did an initial commit and forgot to add the new .gitignore file for Android Stu
Solution 1:
git clean -xf removes all files that matches .gitignore.
Solution 2:
git rm --cached "xxx"git commit -m ""git reset HEAD -- "xxx"git commit -m ""(to update repo)
Post a Comment for "Git .gitignore Not Ignoring Previously Tracked Files"