Post(s) tagged .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