sourcetree - git 提交 遇到 unpack failed: error Missing commit
PHP中文网
PHP中文网 2017-05-02 09:21:42
0
3
1290

如何解决?求大神。

各位 已经解决,原因是本地索引出错:参考:http://blog.sina.com.cn/s/blog_629b701e01017ndf.html

git 常见问题:http://z2ee.com/gerrit/ 以及用到的 gc 命令 :http://gitbook.liuhui998.com/4_10.html

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
PHPzhong

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template