1.查看本地分支:
git branch
2.查看所有分支:
git branch -a
3.新建分支:
git branch <newBranch>
4.切换到分支:
git checkout <branch>
5.新建并切换到指定分支:
git checkout -b <newBranch>
6.删除本地分支:
git branch -d <branch>
7.删除远程分支:
git push <repository> --delete <branch>
8.
1.查看本地分支:
git branch
2.查看所有分支:
git branch -a
3.新建分支:
git branch <newBranch>
4.切换到分支:
git checkout <branch>
5.新建并切换到指定分支:
git checkout -b <newBranch>
6.删除本地分支:
git branch -d <branch>
7.删除远程分支:
git push <repository> --delete <branch>
8.