unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Uwe Brauer <oub@mat.ucm.es>, help-gnu-emacs@gnu.org
Subject: Re: generating a git repo: main instead of master
Date: Sun, 13 Nov 2022 10:32:55 +0200	[thread overview]
Message-ID: <877czzmeyw.fsf@iki.fi> (raw)
In-Reply-To: <87leofe0xe.fsf@mat.ucm.es>

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

* 2022-11-13 09:03:25+0100, Uwe Brauer wrote:

> How can I change this behavior to have 

> | * commit 9b1b90c4bb29dbb50320b71cf182e6ad46ab3ac5 (HEAD -> main)

Change Git's setting for the default branch name:

    $ git config --global init.defaultBranch main

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

  parent reply	other threads:[~2022-11-13  8:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13  8:03 generating a git repo: main instead of master Uwe Brauer
2022-11-13  8:24 ` Eli Zaretskii
2022-11-13  8:25   ` Eli Zaretskii
2022-11-13  8:38   ` Uwe Brauer
2022-11-13  9:27     ` tomas
2022-11-13 14:50     ` Björn Bidar
2022-11-13  8:26 ` Peter Hardy
2022-11-13  8:32 ` Teemu Likonen [this message]
2022-11-13  8:33 ` tomas
2022-11-13  8:43   ` Uwe Brauer
2022-11-13  9:22     ` tomas
2022-11-13  9:31 ` Jean Louis

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877czzmeyw.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=help-gnu-emacs@gnu.org \
    --cc=oub@mat.ucm.es \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).