From: Amin Bandali Date: Sun, 20 Nov 2022 03:15:37 +0000 (-0500) Subject: * .config/git/config: Set defaultBranch to main. X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/093efbaf0b2d237e6d552738da89c7752c319475?ds=sidebyside;hp=093efbaf0b2d237e6d552738da89c7752c319475 * .config/git/config: Set defaultBranch to main. Supported as of git 2.28. The previous approach of using a template directory would work on a wider range of older git versions, but it would result in git not creating any files/directories (like hooks/) in a repo's .git directory e.g. after clones or initializations. ---