Post(s) tagged .gitignore
How to remove the tracked file that was added in .gitignore
To stop tracking a file you need to remove it from the index.
Using the below command you can remove the file from the index
git rm --cached fileName
If you want to remove the entire folder using the below command
git rm -r --cached folderName
Posted on March 31, 2022