Skip to content

Instantly share code, notes, and snippets.

@suvene
Last active April 1, 2017 02:22
Show Gist options
  • Save suvene/5103186 to your computer and use it in GitHub Desktop.
Save suvene/5103186 to your computer and use it in GitHub Desktop.
[git]間違って削除したstashを戻す
git fsck --unreachable | grep commit | cut -d\  -f3 | xargs git log --merges --no-walk --grep=WIP
git cherry-pick -n -m1 <SHA-1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment