From 93a463a6b1919f750ca65752818de672ad4d101b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 15 Oct 2021 16:38:28 +0200 Subject: setup: use 'main' as default git branch --- SETUP.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SETUP.md b/SETUP.md index 0e7b29b..75943bc 100644 --- a/SETUP.md +++ b/SETUP.md @@ -38,6 +38,10 @@ and install needed packages: echo gitolite3 gitolite3/gituser select git | sudo debconf-set-selections sudo apt install gitolite3 myrepos git-daemon-sysvinit cgit cmark highlight +Silence noisy git warnings about migrating to non-oppressive language: + + sudo -u git git config --global init.defaultBranch main + ## Enable hook -- cgit v1.2.3