diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-10-15 16:38:28 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-10-15 16:38:28 +0200 |
commit | 93a463a6b1919f750ca65752818de672ad4d101b (patch) | |
tree | b3d8f4eb6696748719f471c5d6766f9192ee55bb | |
parent | 2d80272b301a15dfd20df70789e1b24bd7c8aa13 (diff) |
setup: use 'main' as default git branch
-rw-r--r-- | SETUP.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |