Answers for "how to ignore a file that's already being tracked"

1

gitignore already tracked files

# to ignore all files with changes detected
git rm -r --cached .
git add .
git commit -am "Remove ignored files"
Posted by: Guest on April-12-2021
0

gitignore files that are already tracked

git rm --cached <file> // Stop tracking file
git rm -r --cached <folder> // Stop tracking folder
Posted by: Guest on March-09-2021

Code answers related to "how to ignore a file that's already being tracked"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language