RE: [PATCH] branch: add '-' to delete previous branch
- From
Randall S. Becker <rsbecker@nexbridge.com>
- Date
- Apr 29, 2020, 19:31 UTC
- Message-ID
- <03f601d61e5c$d32d6380$79882a80$@nexbridge.com>
- In-Reply-To
- <xmqqk11yw0r9.fsf@gitster.c.googlers.com>
On April 29, 2020 3:28 PM, Junio wrote:
Show 9 quoted lines
> Sergey Organov <sorganov@gmail.com> writes: > > Ivan Tham <pickfire@riseup.net> writes: > > > >> Add support to delete previous branch from git checkout/switch to > >> have feature parity with git switch -. > > ... > > Is this short-cut /that/ important to create yet another confusion? > > I do not think it is that important, but I do not think "cd -" is so
important,
> either.
I wouldn't mind a switch - to the previously switched-out branch rather than supporting this for delete. Alternatively, what about a switch --push and a switch --pop like something out of bash pushd/popd.
Regards, Randall