• 在本地创建并切换
git checkout -b your_branch_name

 

  • 把本地分支的修改提交到远端的分支上
git push origin local_branch_name:remote_branch_name

 

  • 把本地分支重置成远端master分支的代码
git reset --hard origin/master

 

相关文章:

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