I had run into a problem where Git seems to not ignore files specified in .gitignore file.
It seems that files that git knows about, it can't ignore, e.g. files that are created at the project creation.
To solve this problems, run the following commands in order
It seems that files that git knows about, it can't ignore, e.g. files that are created at the project creation.
To solve this problems, run the following commands in order
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
No comments:
Post a Comment