Pick your Default Branch
Most repos use the branch master as their default, but Git doesn’t force this upon you and why should we? Now you can change it to whatever you want. This…
Most repos use the branch master
as their default, but Git doesn’t force this upon you and why should we? Now you can change it to whatever you want. This means two things (using ant as an example):
- http://github.com/apache/ant redirects to http://github.com/apache/ant/tree/trunk
- git clone git://github.com/apache/ant.git will have
trunk
checked out by default
Written by
Related posts
Apply now for GitHub Universe 2023 micro-mentoring
As part of our ongoing commitment to accelerate human progress through Social Impact initiatives, we’re offering students 30-minute, 1:1 micro-mentoring sessions with GitHub employees ahead of Universe.
The 2023 Open Source Program Office (OSPO) Survey is live!
Help quantify the state of enterprise open source by taking the 2023 OSPO survey.
Godot 4.0 Release Party 🎉
We are delighted to host the Godot 4.0 Release Party at GitHub HQ on Wednesday, March 22 from 6:30 pm to 9:30 pm. And you’re invited!