git checkout --autostash and git branch --autopop
- From
- rottis@fea.st <rottis@fea.st>
- Date
- Dec 12, 2019, 12:19 UTC
- Message-ID
- <8ab7d980-9584-4ce7-b4ee-9acac62c030c@www.fastmail.com>
Hello,
I'm not sure if this has been discussed in the past, but I would like to humbly request this feature. Let me explain:
Similar to the 'git rebase --autostash', running 'git checkout --autostash' would automatically stash uncommitted changes for the current branch. then running 'git branch --autopop' would automatically apply an automatic stash when switching to a branch that had one.
Thank you.