Answers for "gitignore all files with file ending"

13

.gitignore file not ignoring the file

git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
Posted by: Guest on May-31-2020
1

git remove all files from gitignore

git ls-files -i --exclude-from=.gitignore | %{git rm --cached $_}

// works with windows powershell
Posted by: Guest on April-15-2021

Code answers related to "gitignore all files with file ending"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language