[PATCH] checkout: add --autostash option for branch switching
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- May 4, 2026, 18:28 UTC
- Message-ID
- <20260504182836.52258-1-haraldnordgren@gmail.com>
- In-Reply-To
- <xmqqfr48rubw.fsf@gitster.g>
> I do like the feature that allows you to identify which local > branches are already merged and prune them. It will help users keep > their local branch namespace clean.
Nice to hear!
> To break the feature down to make it easier to use by our users with > various needs and workflows, we would benefit from having a > collection of smaller features that can be composed, like these:
I gave it a shot to implement these, and then I ran it one some local repos it works really nicely!
Harald