zoukankan      html  css  js  c++  java
  • git使用--停留在某次提交上,但是代码一直可以更新到最近一次提交的问题

    gs(git status)一下,提示信息:

    You are currently rebasing branch 'master' on '6ff7d77'.

      (all conflicts fixed: run "git rebase --continue”)

    当前分支停留在“ 6ff7d77”提交上时,运行git rebase —continue后提示

    error: Ref refs/heads/master is at 30222e596f87fe0ec2e74a4fe152d91af495e489 but expected 1f48a9a53201ca92f03d32d12f5a5a456f9b893c

    fatal: Cannot lock the ref 'refs/heads/master'.

    Could not move back to refs/heads/master

    依次运行

    git update-ref refs/heads/master 1f48a9a53201ca92f03d32d12f5a5a456f9b893c

    rebase —continue

    gs

    根据gs后的提示操作

    (这里我的提示是:git pull)

  • 相关阅读:
    奇异值分解
    特征值和特征向量
    矩阵
    矢量化
    符号数组
    通用函数
    数据平滑
    多项式拟合
    协方差/相关矩阵/相关系数
    json
  • 原文地址:https://www.cnblogs.com/NINIiOS/p/3989842.html
Copyright © 2011-2022 走看看