git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

Change the default branch of this repo from master to main?

Open spacewander opened this issue 3 years ago • 1 comments

@tfendin suggests that we can switch the default branch of this repo from master to main: https://github.com/tj/git-extras/pull/946#issuecomment-1003358562

@tj @hemanth What do you think about this?

spacewander avatar Jan 03 '22 13:01 spacewander

Given that GH has made it easy to make that change, it would be a 👍 from me 🤓

hemanth avatar Jan 03 '22 21:01 hemanth

As somebody with a Masters degree, I wonder what the point of this is ...

ldo avatar Mar 07 '23 01:03 ldo

It seems this and this page has some more information on how to do it without breaking things.

As someone who has been contributing to this repository for a while, this change is very welcome. Besides improving the terminology to be more inclusive, changing to main brings us more in line with the rest of the developer evosystem and makes it much less inconvenient to make changes - since the proliferation of main, most people's muscle memory, and many people's git aliases, etc. are based off of main.

@spacewander What do you think about revisiting this? The existing consensus seems to suggest a switch would be satisfactory

hyperupcall avatar Sep 24 '23 00:09 hyperupcall

@tj Would you help to change the default branch of this project? We don't have access to this project's setting.

spacewander avatar Sep 25 '23 02:09 spacewander

After discussing with @tj via email these days, we have finally changed the default branch to main. I have submitted a PR to adapt this change: https://github.com/tj/git-extras/pull/1092

spacewander avatar Oct 22 '23 03:10 spacewander

great!

hyperupcall avatar Oct 22 '23 06:10 hyperupcall