[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generating a git repo: main instead of master
From: |
Teemu Likonen |
Subject: |
Re: generating a git repo: main instead of master |
Date: |
Sun, 13 Nov 2022 10:32:55 +0200 |
User-agent: |
Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) |
* 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
signature.asc
Description: PGP signature