Re: stashing only unstaged changes?
- From
- Reto <reto@labrat.space>
- Date
- Jun 24, 2022, 08:16 UTC
- Message-ID
- <20220624081615.zhurjajwuvtvzs2y@feather>
- In-Reply-To
- <20220621142618.239b02cd@bigbox.attlocal.net>
You should be using proper branches, not stash.
Here's an email with some background from Junio:
https://lore.kernel.org/git/xmqq5ylior3l.fsf@gitster.g/
Some quotes:
> The intended use of "stash" is to clear the deck as quickly as > possible to deal with "emergencies"
> Users are better off doing any large scale "I made a mess in the > working tree with mixed changes, and I want to take time to separate > them out" on separate (possibly temporary) branches, instead of > using "stash save" + "stash pop"
In other words, you are using the wrong tool for the job probably.
Cheers, Reto