Git的使用六:刷新.gitignore忽略文件

来源:互联网 发布:中华遗产 知乎 编辑:程序博客网 时间:2024/06/15 19:34
//重置缓存git rm -r --cached .git add .git commit -am 'update ignore files'git pullgit push//这时候 .gitignore文件才真的起作用