git常用命令


1.查看分支

git branch -a(查看所有分支)

git branch 查看当前分支

2.更改当前分支

git checkout (name) 当前分支名称

3.删除分支

git branch -d (name)需要删除的分支