用 git 拉代码时报错:Git Pull Falied:You have not concluded your merge.Exiting because of unfinished
出现这种情况的原因,可能是在 pull 代码之前merge合并失败。

解决方法:

  • 方法一:舍弃本地代码,远程版本覆盖本地版本

使用这种方法之前,可以现将本地修改的代码备份一下,避免重敲代码具体如下

$:git fetch --all
$:git reset --hard origin/master
$:git pull

  • 方法二:保留本地代码,中止合并 → 重新合并 → 重新拉取

$:git merge --abort
$:git reset --merge
$:git pull

这种做法需要处理代码冲突,因此以上方法,各取所需

用 git 拉代码时报错:Git Pull Falied:You have not concluded your merge.Exiting because of unfinished相关推荐

  1. 解决Git拉取代码时报错 Cloning into ‘h5functionpage4xwc.git~‘..fatal: protocol ‘?[200~http‘ is not supported

    前言 git 拉取前端代码报错 如下图 解决办法 将要clone的代码仓库地址的开头 http或https去掉 改为手动输入 然后回车

  2. gitee 上传代码时报错git did not exit cleanly (exit code 1)

    本解决方法只说明个人经历,不同问题因人而异,具体靠自身实践. 使用gitee时报错 报错内容:git did not exit cleanly (exit code 1) 解决方法 打开gitee,将 ...

  3. Your account has been blocked. git更新代码时报错

    记录一下问题. 原因解释:当前用户登录信息过期.在浏览器里登录gitlab后台,长时间没有重新登录,导致后端登录session失效,自动锁住用户账号.此时通过ssh下载也就无法更新代码. 解决办法:在 ...

  4. vscode中git push代码时报错PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364

    电脑系统为win10,之前推远程时没有报错,最近报错:未能加载文件或程序集"PresentationCore, Version=4.0.0.0, Culture=neutral, Publi ...

  5. git提交代码时报错:nothing added to commit but untracked files present

    原因: git没有把提交的文件加载进来,报红色的是需要提交的文件, 解决步骤: 用git add XXX(文件名) 把提示报红色的文件加上 git commit -m "xx" g ...

  6. git pull 下拉代码报错 There is no tracking information for the current branch. Please specify which branc

    git pull 下拉代码报错 There is no tracking information for the current branch. Please specify which branch ...

  7. Git上传代码时报错 Warning: Permanently added ‘gitee.com,212.64.62.174‘ (ECDSA) to the list of known host...

    Git上传代码时报错 Warning: Permanently added 'gitee.com,212.64.62.174' (ECDSA) to the list of known host... ...

  8. git拉取代码报错没有授权

    问题场景:使用git clone "代码路径"下载项目代码时报错Authentication failed 解决方案:首先用git项目管理员登录git地址,看看下载的git账号是否 ...

  9. git拉取代码报错fatal Authentication failed for ‘httpxxxx.git‘‘解决方案

    git拉取代码报错fatal: Authentication failed for 'http:xxxx.git''解决方案 1.需求背景 最近由于自己的主机出问题了,所以换了一台主机,然后在换的主机 ...

  10. 解决git在push时报错fatal: unable to access ‘https://github.com/sup0C/a.git/‘: errno 10054

    解决git在push时报错fatal: unable to access 'https://github.com/sup0C/a-repository-for--git/': OpenSSL SSL_ ...

最新文章

  1. 影像组学视频学习笔记(32)-使用SimpleITK进行N4偏置场校正、Li‘s have a solution and plan.
  2. mysql空表不导出问题_解决Oracle 11g空表无法导出的问题
  3. Redis 内存压缩实战
  4. 用tcc自己编译自己
  5. 张霖峰:AV1和VVC的格局将在2023年后明朗
  6. MyBatis Generator配置文件翻译
  7. 算法题 如何找到数组中重复的数字
  8. Spring框架学习笔记05:Spring AOP基础
  9. Context mContext = getApplicationContext();
  10. 朋友圈加粗字体数字_如何让你的朋友圈骚到脱颖而出?
  11. Bochs使用简单教程
  12. oracle删除目录 数据库文件,数据库生成一个app文件夹为什么删不掉
  13. kettle启动 carte服务部署
  14. 建设数字经济引领型城市 CDEC2022中国数字智能生态大会广州举行
  15. 前IBM和Cisco执行官Tom Noonan将加入Bakkt担任董事会主席
  16. 当百度也来玩众筹,是否可以为众筹正名?
  17. MySQL数据库软件介绍
  18. POSIX是什么,为什么需要POSIX
  19. KFS同步过程中遇到的问题
  20. 淘宝联盟分享赚怎么赚钱?

热门文章

  1. 【C】求函数的定积分
  2. html中css字体颜色设置,css样式字体设置宋体 css中font字体颜色怎么设置
  3. 90后迎来30岁,比升职更重要的是这8件事
  4. java pfx 和cer_pfx证书和CER证书
  5. go java gc_Golang GC算法
  6. XPDL与WS-BPEL的比较之一:规范发展篇
  7. 2010年新版俏皮话
  8. 黄金分割法,你会了吗?
  9. 学习笔记-部署和管理DPM 2016-04文件和应用程序保护
  10. QT 错误:Unable to create a debugging engine解决