Brain Phrye

code cooking diy fiction personal photos politics reviews tools 


Default Branch

[ Listen to article ]

If you want a different default branch name for git / gitlab:

1
git config --global init.defaultBranch dev

On gitlab under admin/application_settings/repository you can adjust it for repos created there. This won’t affect existing repos.