我是通过git clong 路径 的方式新建一个的
将内容copy过去,然后 git status 查看状态
然后 git add . 添加进去
然后 git commit -m '初始化项目'
然后 git push 就可以了
---------------------------------------------------------------------------------------
1.查看工作树是否干净
git status : 查看工作状态
2.创建并切换到该分支上
例子: git checkout -b login ---------- login是分支名字
3.查看所有分支
git branch