DEV Community

Discussion on: Changing the default branch name on GitHub

Collapse
 
raynoldshelen profile image
Helen Raynolds

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

Collapse
 
nocnica profile image
Nočnica Mellifera

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