Git的一些操作aolingo2024年9月18日运维 1、远程分支覆盖本地分支 git fetch --all #其中master为需要覆盖的分支名称 git reset --hard origin/master git pull 2、切换到远程分支并提交 git checkout -b no-context origin/no-context