spring-petclinic-microservices icon indicating copy to clipboard operation
spring-petclinic-microservices copied to clipboard

Rename master branch to main

Open pedsf1968 opened this issue 5 years ago • 2 comments

Never work on Master branch (production)

Create develop branch for origin to merge other features.

Create Realease to backup differents projets states

Create first RELEASE-1.0.0 for this working Master

pedsf1968 avatar Sep 21 '20 17:09 pedsf1968

In the community, the master is going to be replaced by the main branches: https://dev.to/damcosset/replacing-master-in-git-2jim I think we could wait what GitHub will propose to automate this renaming.

arey avatar Sep 22 '20 07:09 arey

A first step : I've created a main branch for the configuration repository: https://github.com/spring-petclinic/spring-petclinic-microservices-config

arey avatar Dec 11 '21 14:12 arey

The default branch has been renamed!
master is now named main

If you have a local clone, you can update it by running the following commands.

git branch -m master main
git fetch origin
git branch -u main main
git remote set-head origin -a

arey avatar Dec 28 '23 11:12 arey