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)

相关文章:

  • 2021-06-21
  • 2021-08-09
  • 2022-12-23
  • 2021-08-05
  • 2021-10-25
  • 2022-12-23
  • 2021-10-04
猜你喜欢
  • 2021-08-12
  • 2021-07-01
  • 2022-12-23
  • 2021-09-06
  • 2021-07-26
  • 2022-01-15
相关资源
相似解决方案