连接远程仓库:
git remote add origin +仓库地址
创建分支:
git branch + 分支名
切换分支:
git checkout + 分支名
将代码压入分支:
git add .
git commit -m "备注"
将分支上传到github:
git push origin +分支名
连接远程仓库:
git remote add origin +仓库地址
创建分支:
git branch + 分支名
切换分支:
git checkout + 分支名
将代码压入分支:
git add .
git commit -m "备注"
将分支上传到github:
git push origin +分支名