re: Changing the default branch name on GitHub VIEW POST


With the latest git version 2.28 you can set the default branch name globally with this command:

git config --global init.defaultBranch main

Git v2.28 highlights


Thank you! I need to update this post :)

Some comments have been hidden by the post's author - find out more

Code of Conduct Report abuse