From: Kristoffer Haugsbakk Date: Fri, 16 Oct 2026 18:21:40 GMT Subject: Re: [Bug] Porcelain allows creation of '@' branch Message-ID: In-Reply-To: On Fri, Oct 16, 2026, at 20:09, D. Ben Knoble wrote: > On Fri, Oct 16, 2026 at 11:35 AM Junio C Hamano wrote: >> >> Bence Csókás writes: >> >> > On 2026. 09. 03. 14:35, Bence Csókás wrote: >>>>>[snip] >> >> Bence >> > >> > P.S.: >> > >> > $ history | grep 'git .*@' | wc -l >> > 74 >> > $ history | grep HEAD | wc -l >> > 0 >> > >> > ;) >> >> You have some unlearning of a bad habit to do, then ;-) > > Phaw! What's good (short and easy to type) for interactive use may not > be great for scripts, sure, (in which case spelling out long options, > writing HEAD, etc., is advisable). > > But shorthands are convenient day-to-day. What's a bad habit about that? > > (Besides, the OP's grep also counts uses of > @{upstream}/@{u}/@{push}/reflog syntax/etc.) I set up `git symbolic-ref refs/H HEAD` after my first `@` conversation.[1] 🔗 1: https://lore.kernel.org/git/xmqqy12z7eti.fsf@gitster.g/