Git实战指南----跟着haibiscuit学Git(第九篇)

笔名:  haibiscuit

博客园: https://www.cnblogs.com/haibiscuit/

Git地址: https://github.com/haibiscuit?tab=repositories  (欢迎star)

本项目地址: https://github.com/haibiscuit/StudyBook

尊重笔者的劳动成果,未经允许请不要转载

:git log

(1) 展示历史提交的commit

   git log --pretty=oneline --abbrev-commit

(2) git所有操作的记录

git reflog

(3) 使用图形查看commit历史

git log --graph --pretty=oneline --abbrev-commit

或git log --graph

猜你喜欢

转载自www.cnblogs.com/haibiscuit/p/11986438.html
今日推荐