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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -