git查看分支
访问量:2536

一、简介

在操作分支,之前,我们必须知道,怎样查看分支。如下:

git branch  //查看本地所有分支
git branch -r  //查看远程所有分支
git branch -a   //查看本地和远程所有分支