gpt4 book ai didi

git - 如何使用git从master分支中 pull 出?

转载 作者:行者123 更新时间:2023-12-03 08:20:05 26 4
gpt4 key购买 nike

我尝试从主分支中拉出,但收到错误消息:

$ git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 

error: cannot lock ref 'refs/remotes/origin/navigation': is at 1234566753 but expected 5434623423 From https://bitbucket.org/myproject ! 12345..8f1b648 navigation -> origin/navigation (unable to update local ref) Completed with errors, see above

我能做什么?

最佳答案

尝试运行:

 git gc --prune=now

并删除 .git/refs/remote/origin

关于git - 如何使用git从master分支中 pull 出?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59862368/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com