1.git init
2.git add 添加到暂存区
3. git commit 提交到版本库
4. git status 查看暂存区状态
5 .git diff 查看对比
6. git reset Head 恢复版本
7.git rm 删除
8. git mv 重命名
9.git branch 列出本地所有分支 git branch test 创建test分支
1.git init
2.git add 添加到暂存区
3. git commit 提交到版本库
4. git status 查看暂存区状态
5 .git diff 查看对比
6. git reset Head 恢复版本
7.git rm 删除
8. git mv 重命名
9.git branch 列出本地所有分支 git branch test 创建test分支