我知道压缩版本reflog存储在 .git/packed-refs
但实际的reflog位于何处以及git如何在一个类型中恢复历史记录git reflog?
reflogs在.git/logs/<refname>.例如,对于一个名为master(例如refs/heads/master)的分支,那么您会想要.git/logs/refs/heads/master.
HEAD当然,这是异常的,而且是.git/logs/HEAD.
| 归档时间: |
|
| 查看次数: |
591 次 |
| 最近记录: |