From 434aee5de456ae6da885d4a274bc11778f57e7d0 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 11 Jan 2021 11:00:25 +0000 Subject: git: Initialize new repos with a `main' branch --- git/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/config b/git/config index b5769b5..0205c27 100644 --- a/git/config +++ b/git/config @@ -15,6 +15,9 @@ [grep] lineNumber = true +[init] + defaultBranch = main + [pull] ff = only -- cgit v1.2.3-70-g09d2