What is git reflog?
Answer / Anand Pratap Singh
Git reflog is a history of all the changes made to the heads (pointers) in your Git repository. Each action, such as creating, deleting, or resetting branches, tags, or commits, leaves an entry in the reflog. This allows you to recover lost commits or branch heads that were deleted by accident.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is git cherry-pick?
Explain the difference between reverting and resetting.
How to squash or fixup commits?
Explain the advantages of forking workflow?
What is Subgit? Why to use Subgit?
What is the difference between git vs svn
Mention some of the best graphical GIT client for LINUX?
What is the use of ‘git log’?
What work is restored when the deleted branch is recovered?
What is the difference between git and github?
What are the benefits of using version control system?
Explain the uses of git commands?