在使用git进行dev分支的clone时,使用命令:git checkout -b dev origin/dev
这时可能出错:fatal: 'origin/dev' is not a commit and a branch 'dev' cannot be created from it

可以先把github上的dev分支拉下来,命令:git pull。然后再执行git checkout -b dev origin/dev就可以啦~~

dev分支clone时git报错:'origin/dev' is not a commit and a branch 'dev' cannot be created from it相关推荐

  1. git报错:‘origin’does not appear to be a git repository

    git报错:'origin'does not appear to be a git repository 原因 具体解决方法 原因 是由于git找不到远端的仓库地址了,在git文件夹下,config文 ...

  2. jenkins构建时git报错:hudson.plugins.git.GitException: Failed to fetch from

    问题: jenkins拉取远程代码构建git报错:hudson.plugins.git.GitException: Failed to fetch from 拉不到远程分支 提示信息如下 ERROR: ...

  3. fatal: ‘origin/xxx‘ is not a commit and a branch ‘xxx‘ cannot be created from it

    git远程仓库拉取dev分支,但是操作失败,提示操作出错. fatal: 'origin/dev' is not a commit and a branch 'dev' cannot be creat ...

  4. git报错:‘origin‘does not appear to be a git repository的解决方法

    文章目录 #事故现场 #解决方法 #事故现场 git push origin master时报错: fatal: 'origin' does not appear to be a git reposi ...

  5. push时git报错 error: failed to push some refs to 'git@gitee.com:git_zn/jianli.git' 解决办法...

    完整的错误提示如下 To gitee.com:git_zn/jl.git! [rejected] master -> master (fetch first) error: failed to ...

  6. git拉取分支报错:fatal:‘XXX' is not a commit and a branch ‘XXX' cannot be created from

    本文首发于公众号"AntDream",欢迎微信搜索"AntDream"或扫描文章底部二维码关注,和我一起每天进步一点点 问题出现的步骤 首先通过SourceTr ...

  7. 使用git checkout -b origin/命令报错is not a commit and a branch ‘dev_86984_newn‘ cannot be created from it

    使用git checkout -b origin/命令报错is not a commit and a branch 'dev_86984_newn' cannot be created from it ...

  8. git报错Please move or remove them before you can merge

    今天提交代码时git报错: Please move or remove them before you can merge 原因是本地的修改和别人的提交有冲突,且没有合并 解决: git clean ...

  9. 【git报错】The current branch dev has no upstream branch. To push the current branch and set the remote

    发现问题 本地新建了一个dev分支,然后把dev分支下的代码push到远程仓库中,使用git push,但是报错了,如下: fatal: The current branch dev has no u ...

  10. Jenkins部署项目时,git报错fatal: index file smaller than expected

    @Jenkins部署项目时,git报错fatal: index file smaller than expectedTOC 最近在学习部署Jenkins时,微服务构建一直报错: Caused by: ...

最新文章

  1. Python图片操作-psd_tools:将psd文件转换成BMP
  2. 黑马lavarel教程---8、session
  3. UNP Chapter 27 - 客户-服务器程序其他设计方法
  4. [Leedcode][JAVA][第45题][跳跃游戏 II][贪心算法]
  5. tomcat 内存调整
  6. c++语言偶数分离,在C++的链表中分离偶数和奇数节点
  7. RegisterStartupScript和RegisterClientScriptBlock的用法
  8. 分享推荐业务后的收获
  9. 内核中的中断函数request_irq()
  10. github进不去_app.gitbook.com进不去,一直卡着怎么回事
  11. 熵权法计算权重(java版)
  12. 在plc中用c语言实现电梯控制程序,基于PLC的电梯控制系统的设计与实现[论文+答辩ppt+完整程序代码]...
  13. 【操作系统】进程通信的几种方式
  14. android 色值(全)
  15. js格式化显示json对象
  16. 计算机主板 上电顺序,笔记本电脑主板的上电过程
  17. 大神带你秒懂Modbus通信协议
  18. 语音通知API - onealert的语音通告替代调研
  19. 山经·南山经:猨翼山 [yuán yì shān]
  20. 二、编写输出“Hello World”

热门文章

  1. AUTOSAR中CAN通信协议栈概述
  2. xps文件服务器端,XPS文档读取查看器
  3. JLINK-->JFlash烧录固件
  4. DbgView 无法开启Capture Kernel问题
  5. ArcGis 拓扑检查——狭长角锐角代码C#
  6. 形式化方法对软件开发的挑战:一些历史与现实
  7. 三段式状态机原理详细解释
  8. 计算机机房日常巡检内容,IT机房巡检工作流程及标准.doc
  9. 扬州晶澳-年产3GW高性能太阳能光伏组件项目 Acrel-3000WEB电能管理系统的设计及应用
  10. 2022年高压电工考试题模拟考试平台操作