loading...

re: Replacing master in git VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The Git Development Community is working to at least make the name of the main branch easily configurable What's wrong with it now? mkdir /tmp/...
 

As far as I remember, changing the default branch would be able to be done with command line parameter or a configuration variable

git init --default-branch=main

or

git config branch.default main
# ...
git init

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

code of conduct - report abuse