初始仓库
git init
查看远程仓库地址
git remote -v
添加远程仓库地址
git remote add origin <仓库地址>
创建分支
git branch <分支名字>
创建并切换分支
git checkout -b <分支名字>
切换分支
git checkout <分支名字>
查看分支
git branch
查看远程分支
git branch -a
删除分支
git branch -d <分支名字>
持更