re: Changing the default branch name on GitHub VIEW POST


How do you add the git function to git itself so that it's run whenever we init a repo?


I do not think there’s a good way to do that, though anyone who clones a repository so initiated will have the same branch naming scheme.

Thankfully GitHub is looking at changing default naming soon :)

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

Code of Conduct Report abuse