Git---fetch
2022-02-10 本文已影响0人
WorldPeace_hp
$ git fetch
#拉取分支,从远程仓库--->本地仓库
$ git fetch --prune
#本地删除远程已经不存在的分支
或简写
$ git fetch -p
$ git fetch -p origin
$ git remote prune origin
$ git fetch
#拉取分支,从远程仓库--->本地仓库
$ git fetch --prune
#本地删除远程已经不存在的分支
或简写
$ git fetch -p
$ git fetch -p origin
$ git remote prune origin