您当前的位置: 首页 >  git

壹小俊

暂无认证

  • 2浏览

    0关注

    885博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

git报错:Pull is not possible because you have unmerged files解决方法

壹小俊 发布时间:2019-07-08 16:18:05 ,浏览量:2

在git pull的过程中,如果有冲突,那么除了冲突的文件之外,其它的文件都会做为staged区的文件保存起来。

重现:

$ git pull

A    Applications/Commerce/BookingAnalysis.java A    Applications/Commerce/ClickSummaryFormatter.java M    Applications/CommerceForecasting/forecast/Forecast.java A    Applications/CommerceForecasting/forecast/ForecastCurveProviderCategory.java M    Applications/CommerceForecasting/forecast/ForecastProvider.java M    Applications/CommerceForecasting/forecast/InputPropertyItem.java ......

A    Applications/LocalezeImporter/com/tripadvisor/feeds/SingleMenuLocalezeMatcher.java A    Applications/LocalezeImporter/com/tripadvisor/feeds/TypeCategory.java

Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm ' as appropriate to mark resolution, or use 'git commit -a'.  

通过git status你会发现下面古怪

关注
打赏
1664335782
查看更多评论
立即登录/注册

微信扫码登录

0.0391s