What's the difference between git reflog and log?

前端 未结 7 2017
名媛妹妹
名媛妹妹 2020-11-30 16:36

The man page says that log shows the commit logs and reflog manages reflog information. What exactly is reflog information and what does it have that the log doesn\'t? The l

7条回答
  •  一向
    一向 (楼主)
    2020-11-30 17:17

    Actually, reflog is an alias for

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

    so the answer should be: it is a specific case.

提交回复
热议问题