Answers for "hide file from git without gitignore"

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 file from gitignore

git rm --cached <file>
Posted by: Guest on March-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language