git branch
git branch -v
git branch -vv
git branch -a
git branch -r
如果分支未显示,可能是本地尚未拉取远程分支,需先运行:
# 同步远程分支信息 git fetch origin
← git拉取远程分支源码