git - Undelete specific empty commits after rewriting history with prune-empty -
i rewrote git history filter-branch & --prune-empty. need recover commits specific message. can that? don't run git reflog or git gc
you can use git log
search commit commit message.
as mentioned here, git log
has --grep-reflog
option allows grep commit messages of lost commits.
you can list sha1 only --format=format:%h
.
Comments
Post a Comment