Improve your git stash workflow in fugitive

If you’re a vim/neovim user and your git interactions are through vim-fugitive1. By some point, you probably needed to stash some work. And you probably use the fugitive :Git stash command. But plain git stash will create a stash with a random hash. $ git stash Saved working directory and index state WIP on main: 44bc329 The annoying part is when you have more than one stash, and you need to remember the hash. If you use git stash save you can provide a proper name for your stash. ...

11 Sep 2023 · 3 min · 599 words