summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-10-15 16:38:28 +0200
committerJonas Smedegaard <dr@jones.dk>2021-10-15 16:38:28 +0200
commit93a463a6b1919f750ca65752818de672ad4d101b (patch)
treeb3d8f4eb6696748719f471c5d6766f9192ee55bb
parent2d80272b301a15dfd20df70789e1b24bd7c8aa13 (diff)
setup: use 'main' as default git branch
-rw-r--r--SETUP.md4
1 files changed, 4 insertions, 0 deletions
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