Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I fight against this useless political correctness with my own, albeit invisible, rebellion:

I've set repository default branch to `master` [1] on Github.

I've created init.templateDir with HEAD set to `master` [2]

That way, whenever I init a new repo, either locally or via Github, the default branch is master, not main.

[1] https://github.com/settings/repositories

[2] http://git-scm.com/docs/git-init



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: