创建新分支并切换到新分支
git checkout -b '分支名'
推送新分支到远程仓库
git push --set-upstream origin '分支名'
当有多个git账号时 通过ssh克隆项目
git clone -c "core.sshCommand=ssh -i ~/.ssh/id_rsa_1" 仓库地址
git checkout -b '分支名'
git push --set-upstream origin '分支名'
git clone -c "core.sshCommand=ssh -i ~/.ssh/id_rsa_1" 仓库地址