git如何拉取指定分支的代码并提交 使用基本命令 使用 基本命令 克隆代码 git clone -b 分支名 git路径(如git@xxxxxx:qiang/sgj.git) 2.提交代码到指定分支 进到克隆下的分支目录 git checkout 分支名 git add . git push