Git 命令

92 阅读1分钟

git常用命令

1.回到指定版本

git reset --hard [版本号]

2.删除分支

git branch -d [分支名] git branch -D [分支名] (强制删除)

3.查看git日志

git log