Answers for "git clean gitignore files from cache"

7

git rm cached gitignore

git rm -r --cached .
Posted by: Guest on April-06-2020
2

git ignore cache

# Remove specific file from git cache
git rm --cached filename

# Remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
Posted by: Guest on August-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language