查看本地分支
git branch
git branch -v
查看远程分支
git branch -a
创建分支
git branch test
本地分支推送到远程
git push origin test
合并分支(把test1合并到当前分支)
git merge test1
查看本地分支
git branch
git branch -v
查看远程分支
git branch -a
创建分支
git branch test
本地分支推送到远程
git push origin test
合并分支(把test1合并到当前分支)
git merge test1