Re: [PATCH] revisions: add @{default} shorthand for default branch
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Feb 2, 2026, 21:19 UTC
- Message-ID
- <20260202211919.4968-1-haraldnordgren@gmail.com>
- In-Reply-To
- <CALnO6CDrdfSFuY8xjvno3+2MVB2JHUYdNsYTYqqRsfcDiWa1uQ@mail.gmail.com>
> If you don't need to be on a branch, then "git switch -d origin" (or > upstream, or whatever your remote is) should work just fine.
Thanks, but it needs to be a branch, do you use detached heads for anything? 🤗 For me, the only ever happen by accident.
Harald