On Sat, Sep 02, 2023 at 07:36:09AM -0700, Rod wrote:
> I would love this as well. So far the only solution I've seen involves doing pre or post commit hooks. I wish it was just baked in like Github does.
it's standard git underneath; just run `git config --global
init.defaultBranch main` on the hosting user's command line
(sure you need CLI access to the hosting user, but it's a
one-time change)
just make sure you do this *after* gitolite is installed though,
because the gitolite-admin repo expects "master"
PS: not tested; maybe someone can test it out and confirm, but I
don't see why it would not work