jesseduffield / jesseduffield/lazygit
Feature Request: Stash and Pop
- 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.**
When I'm using gitflow and I need the create a feature while having uncommited/unstashed changes, I'm not allowed. When I hit `i`, and try to create a feature I have to cancel, then stash my changes, create the feature and finally pop the stash.
**Describe the solution you'd like**
When I create a feature by using the `i` shortcut, it would be useful to automatically:
- Stash changes using the same name as the branch to be created.
- Create/checkout said branch
- Pop stash
This will allow me to simply hit `i` and create my feature without worrying about unstashed changes.
Contributor guide
Assessment
This issue has not been assessed yet.