eclipse git 不能pullpull失败

eclipse git pull 报dirty worktree 的错误,-all the works
Another approach, if you don't have any work in progress, is to try and reset --hard your HEAD.
With EGit:&:
Select Team -& Reset... on a project. This opens a dialog where you can select a branch or a tag.
Reset HEAD on your current branch, in order to reset index and working tree to the last commit of said branch.
Then try your pull.
使用重置head选项的第三个hard(共有三个,soft,mixed,hard),reset head之后,再pull 就OK了。他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)eclipse 中使用 git pull 后出现红色方块是什么意思_百度知道
eclipse 中使用 git pull 后出现红色方块是什么意思
我有更好的答案
你只贴个eclipse的文件状态你把git的错误贴出来埃。。 没用 一般,你直接clone 就可以得到服务器上的所有分支,如果想要指定分支,再checkout指定分支就是了
采纳率:96%
来自团队:
那一行有更改,可以通过 git diff
看看哪行有什么不同
为您推荐:
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。

我要回帖

更多关于 eclipse git 不能pull 的文章

 

随机推荐