修改.gitignore使之生效

2016-06-30  本文已影响502人  eoeoops
  1. 清楚tracked缓存
    git rm -r --cached .
  2. 重新添加文件
    git add .
  3. 最后需要提交
    git commit -m ".gitignore is now working"

参考:
http://stackoverflow.com/a/26137730/4349466

上一篇 下一篇

猜你喜欢

热点阅读