三种方式挨个尝试,1不行用2 2不行用3

1.拉取阶段失败

git worktree add -f -B xxx_branch ./xxx_branch origin/xxx_branch 强制拉取

2.删除worktree目录,再录取

git worktree remove xxx_branch

3.重置worktree分支代码

git reset --hard origin/xxx_branch

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-08-26
  • 2021-07-10
  • 2021-07-02
猜你喜欢
  • 2021-06-14
  • 2021-05-24
  • 2022-12-23
  • 2022-01-23
  • 2021-06-18
  • 2021-09-11
  • 2022-03-03
相关资源
相似解决方案