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