git 切换分支命令

1、下载代码:

git clone 仓库地址

2、切换分支

git checkout remotes/origin/develop

3、拉取代码

git pull = git fetch + git merge
git pull --rebase = git fetch + git rebase

原文地址:https://www.cnblogs.com/zhaoyanhaoBlog/p/12980572.html