悲剧的是,按照这个帖子
http://www.ifeegoo.com/git-code-management-dot-gitignore-file-has-no-effect-solution.html#comment-1228试了一下
git rm -r --cached .
然后 git add .
git commit -a -m 'msg'
然后 git push origin dev 提示:
Counting objects: 40, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (40/40), done.
Connection reset by 192.30.253.1138 MiB | 13.00 KiB/s
fatal: The remote end hung up unexpectedly14.00 KiB/s
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to 'git@github.com:***/***.git'