From: Denton Liu <liu.denton@gmail.com>
To: rottis@fea.st
Cc: git@vger.kernel.org
Subject: Re: git checkout --autostash and git branch --autopop
Date: Thu, 12 Dec 2019 10:09:01 -0800 [thread overview]
Message-ID: <20191212180901.GA35927@generichostname> (raw)
In-Reply-To: <8ab7d980-9584-4ce7-b4ee-9acac62c030c@www.fastmail.com>
Hi rottis,
On Thu, Dec 12, 2019 at 02:19:50PM +0200, rottis@fea.st wrote:
> 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.
I currently have a WIP version of this feature but I haven't had enough
time to polish it off (tests and docs). The last RFC round can be seen
here[1] if you want to test it out. It seems to work well enough for
personal use.
[1]: https://lore.kernel.org/git/cover.1571246693.git.liu.denton@gmail.com/
next prev parent reply other threads:[~2019-12-12 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-12 12:19 git checkout --autostash and git branch --autopop rottis
2019-12-12 18:09 ` Denton Liu [this message]
2019-12-12 18:12 ` Denton Liu
2019-12-12 22:02 ` Philip Oakley
2019-12-13 17:16 ` Junio C Hamano
2019-12-14 11:12 ` Philip Oakley
[not found] ` <DA212C7D-D8D4-4E68-8C29-AF68364653E9@ssl-mail.com>
2019-12-14 12:58 ` Philip Oakley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191212180901.GA35927@generichostname \
--to=liu.denton@gmail.com \
--cc=git@vger.kernel.org \
--cc=rottis@fea.st \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.