jesseduffield / jesseduffield/lazygit
undo stash drop
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Is your feature request related to a problem? Please describe.**
If I use lazygit to compensate my smooth brain, I might encounter a frustrating situation where I drop my stash instead of popping it. Forcing me to use plain git to restore it, giving me nightmares.
**Describe the solution you'd like**
If I drop a stash, I would like to easily press "z" to undo the drop.
This feature request might be closed due to "skill issue" but if this is the case I would really appreciate to know at least a way to implement this myself in lazygit.
**Describe alternatives you've considered**
Right now I run `alias git='LANG=en_GB git'` followed by `git fsck --unreachable | grep commit | cut -d ' ' -f3 | xargs git log --merges --no-walk` to find the commit hash I just dropped then restore it with `git stash apply `. But I'm too lazy to script it into a single command.
Contributor guide
Assessment
This issue has not been assessed yet.