1.git fetch --all  //从远程拉取最新的代码 不merge

2.git reset --hard origin/develop  //使用指定分支的代码(此处develop)强制覆盖代码

3.git pull  //从远程拉取最新的代码 自动merge

相关文章:

  • 2021-11-16
  • 2022-12-23
  • 2021-09-09
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-10-28
  • 2021-04-11
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案