RT
ignore file后, 没有成功ignore file
比如你想ignore a.txt,那么可以执行
git rm --cached a.txt
然后再执行
git add .
最后提交:
git commit -m ".gitignore is now working"