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

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -