git clone --depth=1之后拉取其他分支
2021-03-02 本文已影响0人
nice_demo
$ git remote set-branches origin remote_branch_name
$ git fetch--depth1origin remote_branch_name
$ git checkout remote_branch_name
$ git remote set-branches origin remote_branch_name
$ git fetch--depth1origin remote_branch_name
$ git checkout remote_branch_name