# Run the following command (this removes everything from the index):Note, this answer's source came directly from http://stackoverflow.com/questions/1139762/gitignore-file-not-ignoring.
git rm -r --cached .
# Then, run:
git add .
# Finally, commit your changes:
git commit -m ".gitignore is now working"
Do you like this Tutorial? Please link back to this article by copying one of the codes below.
URL: HTML link code: BB (forum) link code:
No comments: