• Your configuration specifies to merge with the ref


    【1】执行 git pull 命令时,错误提示:

    Your configuration specifies to merge with the ref 'refs/heads/task_floor_display' from the remote, but no such ref was fetched.

    如上问题,产生原因与解决方案:

    场景1:远程端同名分支已被删除。

    解决方案:重新建个分支,如下命令:

    1 1 ----------------------------------------------------------
    2 2 git checkout integration
    3 3 git pull
    4 4 git branch task_floor_display
    5 5 git push origin task_floor_display
    6 6 git push --set-upstream origin task_floor_display
    7 7 git checkout task_floor_display
    8 8 git pull
    9 9 ----------------------------------------------------------

    场景2:远程端同名分支仍然存在。

    解决方案:备份(因为clean up会删除掉)好多余代码,在本地代码source根目录下,执行clean up命令,然后再执行git pull命令。

  • 相关阅读:
    Less的嵌套规则
    作为函数的mixin
    带参数的Mixin
    Less的Mixin
    Less变量
    sticky-css
    javascript copy 复制到粘贴板的方法
    Storage支持率记录
    cookie session 做登录认证
    vue2.x 微信浏览器中遇到的奇难杂症
  • 原文地址:https://www.cnblogs.com/Braveliu/p/16497160.html
Copyright © 2020-2023  润新知