这个图很形象的展示了三个分支
分支其实上就是一个指针
创建 git branch (branchname)
git branch (branchname)
查看 git branch #查看本地分支 git branch -r #查看远程分支 git branch -a #查看所有分支
git branch
git branch -r
git branch -a
切换 git checkout (branchname)
git checkout (branchname)
删除 git branch -d (branchname)
git branch -d (branchname)