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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -