This commit is contained in:
nick
2018-05-21 09:09:55 +08:00
parent 2ed01f436b
commit 06e04c7b63
3 changed files with 6 additions and 1 deletions

4
git.md
View File

@ -29,6 +29,10 @@ git commit -m '注释' #提交
git push #推送到仓库
git pull #拉取当前分支仓库最新代码
git pull dev #拉取指定分支的代码与本地分支合并
git reset --hard #回滚到上版本
git reset --hard af442cb672b02cdfca1fcb #回滚到指定的版本