Showing 1 Result(s)

Resync git repo with new gitignore file

After adding .gitignore file use following commands [php] git rm -r –cached . git add . git commit -m “.gitignore is now working” [/php] Make sure to commit first your changes you want to keep. The –cached option will keep your files untouched on your disk though. Other more solution: git rm –cached `git ls-files …