From: Rasmus Villemoes <rv@rasmusvillemoes.dk>
To: "Tom Rini" <trini@konsulko.com>
Cc: <u-boot@lists.denx.de>, <u-boot-board-maintainers@lists.denx.de>,
<u-boot-custodians@lists.denx.de>
Subject: Re: [ANN] Updating branching scheme to use "main"
Date: Thu, 23 Jul 2026 10:17:28 +0200 [thread overview]
Message-ID: <87qzkuqfvr.fsf@rasmusvillemoes.dk> (raw)
In-Reply-To: <20260719182219.GX749385@bill-the-cat> (Tom Rini's message of "Sun, 19 Jul 2026 12:22:19 -0600")
On Sun, Jul 19 2026, "Tom Rini" <trini@konsulko.com> wrote:
> On Wed, Jul 08, 2026 at 10:19:45AM -0600, Tom Rini wrote:
>
>> Hey all,
>>
>> As part of migrating from source.denx.de and over to
>> git.u-boot-project.org, I think it's time to change the branching scheme
>> from master or next to main or next. Since we'll be changing the URLs, I
>> don't think we need to (and I'm not sure we can automatically) have a
>> period where both exist. Thanks!
>
> This is now in effect. The "main" branch on
> https://git.u-boot-project.org/u-boot/u-boot is up to date, and the
> "master" branch (per Marek's suggestion) is on v2026.07. The GitHub,
> Gitlab.com and also source.denx.de repositories match this.
Tip: If, like me, you are heavily relying on tab-completion, you will
now experience that
git log up<TAB>m<TAB>
no longer tab-completes to upstream/master, nor, as it now should,
upstream/main, because both exist, so it only ends up showing
"upstream/ma".
You can easily configure git to ignore the "master" branch on the
upstream remote. First, delete the current remote-tracking branch:
git branch --remote --delete upstream/master
Then in your repository's .git/config, make sure the remote.upstream
section is something like
[remote "upstream"]
url = https://git.u-boot-project.org/u-boot/u-boot.git
fetch = +refs/heads/*:refs/remotes/upstream/*
fetch = ^refs/heads/master
i.e. add the negative refspec '^refs/heads/master'. Then "git remote
update", "git fetch upstream" and similar won't create that
remote-tracking branch again.
(Of course, replace "upstream" by "origin" or whatever your remote name
is for the upstream repository.)
Rasmus
next prev parent reply other threads:[~2026-07-23 8:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 16:19 [ANN] Updating branching scheme to use "main" Tom Rini
2026-07-15 16:22 ` Marek Vasut
2026-07-15 17:01 ` Tom Rini
2026-07-15 17:42 ` Marek Vasut
2026-07-19 18:22 ` Tom Rini
2026-07-23 8:17 ` Rasmus Villemoes [this message]
2026-07-23 16:46 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87qzkuqfvr.fsf@rasmusvillemoes.dk \
--to=rv@rasmusvillemoes.dk \
--cc=trini@konsulko.com \
--cc=u-boot-board-maintainers@lists.denx.de \
--cc=u-boot-custodians@lists.denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.