git常用命令

141 阅读1分钟

查看版本

git log

查看所有版本,当回退之后git log无法显示所有版本的时候

git log --reflog

回退之后强制更新远程仓库

git push -f