如何解决?求大神。
各位 已经解决,原因是本地索引出错:参考:http://blog.sina.com.cn/s/blog_629b701e01017ndf.html
git 常见问题:http://z2ee.com/gerrit/ 以及用到的 gc 命令 :http://gitbook.liuhui998.com/4_10.html
认证高级PHP讲师
This kind of problem is usually caused by some files being directly generated on the git server, or modified directly on the server, causing git to think it is updated on the server, You should git pull first After that gir push origin master
git commit -m 'the message'
First git pull and then push
This kind of problem is usually caused by some files being directly generated on the git server, or modified directly on the server, causing git to think it is updated on the server,
You should git pull first
After that gir push origin master
git commit -m 'the message'
First git pull and then push