git.log与git.reflog的区别

    技术2022-07-14  67

    用git命令,想看到自己的操作记录,则可以使用log与reflog,它两个的区别如下:

    1.git log 命令可以显示所有提交过的版本信息 2.git reflog 可以查看所有分支的所有操作记录(包括已经被删除的 commit 记录和 reset 的操作)

    Processed: 0.022, SQL: 9