Answers for ".gitignore how to ignore only one file"

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
2

git ignore folder except one file

pippo/*
!pippo/pluto
pippo/pluto/*
!pippo/pluto/paperino.xml
Posted by: Guest on June-07-2021

Code answers related to ".gitignore how to ignore only one file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language