Skip to content

Instantly share code, notes, and snippets.

@daniDLL
Created October 30, 2023 08:46
Show Gist options
  • Save daniDLL/03a5ee00397e3d3b905a35ddd20ebdfb to your computer and use it in GitHub Desktop.
Save daniDLL/03a5ee00397e3d3b905a35ddd20ebdfb to your computer and use it in GitHub Desktop.

Revisions

  1. daniDLL created this gist Oct 30, 2023.
    3 changes: 3 additions & 0 deletions restore-deleted-stash.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ```
    git fsck --unreachable | grep commit | cut -d" " -f3 | xargs git log --merges --no-walk --grep=<commit message>
    ```