git路径下想要将一些文件移除git管理git
则须要it
git rm --cached path/fileignorefile
git add .di
git commit -m "git rm --cached path/fileignore"文件
若是是路径则co
git rm --cached -r path/dirignorepush
这样push之后该文件path/fileignore 将不会被再被git track 了,移除git仓库了.path