1.推送代码

git push

2.强制推送代码

git push -f

3.强制推送代码到其他远程分支(中间有个:)

git push -f 远程仓库名 当前分支名:远程其他分支名

git push -f origin feature/s20211215-wph:feature/s20211215-other

4.提取某个提交的内容

git cherry-pick commitID

具体教程:http://www.ruanyifeng.com/blog/2020/04/git-cherry-pick.html

 

相关文章:

  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2021-10-12
  • 2021-06-21
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案