问题描述
从远程git上拉取某一个分支,然后报错,拉取不了这个分支。
拉取分支的命令:

git checkout -b xxx-static-19 origin/xxx-static-19

其中xxx-static-19是分支名。

报错

fatal: 'origin/xxx-static-19' is not a commit and a branch 'xxx-static-19' cannot be created from it

解决
重新拉取数据,git pull ,然后再切回分支

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
猜你喜欢
  • 2022-12-23
  • 2021-04-20
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
相关资源
相似解决方案