2.15. Reference Log

TortoiseGit

2.15. Reference Log

The reference log (reflog) displays the history of a reference (i.e., it is displayed to which commits it pointed in the past). In can be opened using TortoiseGitRefLog, howerver, you have to hold the Shift key while right clicking on on a folder in the explorer in order to see this, because it is in the extended context menu by default.

Figure 2.34. RefLog Dialog

RefLog Dialog

The RefLog can be used to restore deleted commits or HEAD positions (e.g. when you deleted a branch which was HEAD some time ago).

You can find more information at Section G.3.101, “git-reflog(1)”.