如提示 fatal: Not a git repository (or any of the parent directories): .git 先 git init
git branch 查看当前属于哪个分支
git branch +名称 创建分支
git checkout +名称 切换分支
git checkout -b +名称 创建并切换分支
如提示 fatal: Not a git repository (or any of the parent directories): .git 先 git init
git branch 查看当前属于哪个分支
git branch +名称 创建分支
git checkout +名称 切换分支
git checkout -b +名称 创建并切换分支