git 克隆远程指定分支、拉取指定分支合并到本地仓库

克隆远程仓库  https://gitee.com/codechen01/Test.git 的 newBranch 分支

git clone -b newBranch https://gitee.com/codechen01/Test.git

 

拉取远程 master分支

git pull origin master

posted @ 2021-04-23 06:56  温故纳新  阅读(867)  评论(0编辑  收藏  举报