help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generating a git repo: main instead of master


From: tomas
Subject: Re: generating a git repo: main instead of master
Date: Sun, 13 Nov 2022 10:27:06 +0100

On Sun, Nov 13, 2022 at 09:38:16AM +0100, Uwe Brauer wrote:
> >>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

[...]

> > If you want "master" to be the default, then from the shell prompt, do
> > the below once:
> 
> >   $ git config --global init.defaultBranch main
> 
> That is a bit too much, maybe since other public git servers still stick
> to master (bitbucket I think)

That shouldn't be an issue. This only sets the "default" branch when you
create a repo from scratch.

Choosing another default than "master" might confuse some people using
a very old git version [1]. But that's nothing unsurmountable.

Cheers

[1] 
https://stackoverflow.com/questions/18726037/what-determines-default-branch-after-git-clone

-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]