Git2种方法从远程仓库拉取指定的某一个分支August 24, 2022 · One min readScottBMK# 方法1git clone -b url# 方法2,最暴力,主分支下会拉取所有分支git fetchgit checkout 分支名