I spent some time trying to figure out why my git would not stop add files I added to my .gitignore. I finally figured out there were files being cached, why? I have no idea, but I am glad I know how to removed them now.
git rm . -r --cached
git add .
git commit -m "fixed untracked files"
No comments:
Post a Comment