Comfortable walking weather
GitLab’s Default Branch Name
GitLab is now implementing a change to make the default branch “main” instead of “master”, following GitHub and Atlassian in ditching the “master/slave” namings due to their negative history.
It should be noted that this change this makes little difference to the functionality these sites provide, and to git repositories in general. Also, the default branch can be overridden.
When creating a blank initial repo in GitLab or GitHub (i.e. without a README.md file), the sites will prompt you to push code in using instructions such as this (GitLab haven’t yet implemented the master –> main change yet so it still shows master on their instructions)
git clone git@gitlab.com:username/example.git
cd example
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
But there’s nothing to stop you from doing something like
git push -u origin trunk
Instead of master at the time of pushing.
trunk is also one of the three folders used in Subversion Version Control as part of the recommended layout (trunk, tags, branches) — yes, I did use svn previously, along with Mercurial, Visual SourceSafe, and even cvs.
trunk is also a more logical sounding main branch as you have branches that lead into the trunk of a repo. And the leaves could be considered to be the tags.
While it is great that the big name hosting platforms are migrating away from the master branch idea, it should be noted that you didn’t have to have this default branch name originally, nor were you (or are you still) tied to using their choice of main branch name.
Training in Quarantine – Day 275
Raining pretty much the entire day, but still had to do my walk.
Luckily it pretty much stopped raining around 10 minutes into the walk.
Training in Quarantine – Day 274
A nice warmer day, and the kids are back at school, went for my walk earlier and ended up amongst the kids.
Training in Quarantine – Day 273
Normal walk, other than the kids going back to school today.
Training in Quarantine – Day 272
Went walking, it was cold-ish. My FitBit reported 6degC.
Schools go back tomorrow and there was a big queue of cars outside the automatic car wash — I guess all of them are getting used again finally.
Training in Quarantine – Day 271
A very cold morning (had to scrape ice off the car) and it didn’t get too much warmer in the evening when I did my walk.
Training in Quarantine – Day 270
A walk cut short due to a call from the office, even though I wasn’t on call.
Training in Quarantine – Day 269
Pouring with rain today, but still went for a quick walk. And yes, got soaked. But I need my walk…
Training in Quarantine – Day 268
Same as yesterday, warmer but cooler day, walking running jacket, felt cold until I started jogging.

You must be logged in to post a comment.