Re: [PATCH] branch: add '-' to delete previous branch
- From
Sergey Organov <sorganov@gmail.com>
- Date
- May 1, 2020, 09:18 UTC
- Message-ID
- <87zhas3teg.fsf@osv.gnss.ru>
- In-Reply-To
- <xmqqbln8sqcv.fsf@gitster.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Konstantin Khomoutov <kostix@bswap.ru> writes: > >> I would speculate that `git checkout -` may have learned about "-" >> simply from the `cd -` ... > > You do not have to speculate. You only need to read what has been > already said in the thread ;-).
Should I expect "git checkout ~" to get me to my "home" branch then? ;-)
Actually, that could be a good idea. I mean, to have "home" branch notion and a short-cut for it.
-- Sergey