Answers for "how to change gitignore file"

9

git update gitignore

git rm -r --cached .
git add .
git commit -m "update gitignore"
Posted by: Guest on December-13-2020
1

git update gitignore remove files

git rm --cached `git ls-files -i -c --exclude-from=.gitignore`
Posted by: Guest on August-15-2021
-1

git ignore not saving changes

git rm -rf --cached .
git add .
Posted by: Guest on June-02-2020
-1

gitignore a specific file

$ echo debug.log >> .gitignore $ git rm --cached debug.log rm 'debug.log' $ git commit -m "Start ignoring debug.log"
Posted by: Guest on January-13-2021

Code answers related to "how to change gitignore file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language