Closed hhzl closed 9 years ago
gh-pages set as default branch
@philippeback , @tomrake Any objections if I delete the master branch. We do not need it.
I have examined the repository and branches in its current state today. Removing the master branch is unusual which is why I am going into this level of analysis.
The master branch is OLD, has FEWER COMMITS, HAS NO DOMAIN related records and is not being served. The master branch can be removed or deleted without affecting the live pages of the website.
No objections from my side. The gh-pages is the only branch used to create the website.
One possible alternative would be to make GitHub use the master branch instead of gh-pages, merge everything from gh-pages into master and then remove the gh-pages branch. But I don't see any advantage of doing so.
@tomrake , @mkroehnert Thank you for this careful analysis and the confirmation that the master branch may indeed be deleted. It will make it easier for people to contribute to the web site development.
Now: where is the button to actually delete the master branch. I thought it was under settings
but I did not see it there.
Probably no button. Must clone and git-fu (git push origin :master
IIRC).
Hannes Hirzel wrote:
@tomrake https://github.com/tomrake , @mkroehnert https://github.com/mkroehnert Thank you for this careful analysis and the confirmation that the master branch may indeed be deleted. It will make it easier for people to contribute to the web site development.
Now: where is the button to actually delete the master branch. I thought it was under |settings| but I did not see it there.
— Reply to this email directly or view it on GitHub https://github.com/amber-smalltalk/amber-website/issues/23#issuecomment-75391598.
@hhzl one of the Google results for "Github delete branch" leads to this GH help page (see bottom for deleting branches): https://help.github.com/articles/viewing-branches-in-your-repository/
@mkroehnert thank you
Restore option is available
Suggestion by Bert Freudenberg on the ML.
The branch used in this repository is the gh-pages branch. The master branch has not been updated for a long time. Having the master branch around is not necessary.
Choose default branch
Delete master branch