//常看本地分支与远程分支的关联git branch -vv//基于远程分支新建本地分支git checkout --track -b <分支名> origin/<要基于远端的分支名>//基于本地分支git branch <new-branch> <base-branch>