git分支命令简记

创建分支
git branch
切换分支
git checkout
创建并切换
git checkout -b

查看分支
git branch
查看所有分支 包括远程分支
git branch -a

删除分支
git push origin –delete