Alexander Goller
@alpipego

Travelogue
Projects
Journal
About

Git Default Branch Name

#13462 · July 29, 2020

https://images.unsplash.com/photo-1522251519194-04481042f3e7If you easily want to have your main branch in a new git repository named something different than master, git 2.28 has you covered with a new config option init.defaultBranch. It doesn’t mess with existing repositories.

Published: July 29, 2020
Last edited: April 4, 2021
prev all next
© 2025 Alexander Goller Privacy