标签:状态 git reset 常用 branch push 代码 span checkout har
版本库状态:
git status
git checkout .(文件路径)
git diff
git log
代码版本切换:
git reset --hard 某次提交
git pull (--rebase)
代码提交:
git add
git commit
git push
分支处理:
git branch 分支名
git checkout 分支名
git checkout -b 分支名
SYQ
标签:状态 git reset 常用 branch push 代码 span checkout har
原文地址:http://www.cnblogs.com/sheyingqi/p/6866405.html