Re: [PATCH] revisions: add @{default} shorthand for default branch
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Feb 2, 2026, 22:54 UTC
- Message-ID
- <20260202225436.12409-1-haraldnordgren@gmail.com>
- In-Reply-To
- <A8942826-6235-4C46-9217-708671ED4678@gmail.com>
Show 5 quoted lines
> Yes, frequently :) > > I run « git switch -d origin » a lot to avoid having to keep a local main > branch up to date (if I don’t use it for anything, which is often the > case).
Very interesting! I'm gonna try this! I will also do this
git config --global advice.detachedHead false
because that advice always looked to me like I was doing something very wrong.
Harald