Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename master branch to main #167

Closed
pedsf1968 opened this issue Sep 21, 2020 · 3 comments
Closed

Rename master branch to main #167

pedsf1968 opened this issue Sep 21, 2020 · 3 comments
Assignees

Comments

@pedsf1968
Copy link

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

@arey
Copy link
Member

arey commented Sep 22, 2020

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 arey changed the title Make develop branch and release Migrate to main branch Nov 21, 2020
@arey arey changed the title Migrate to main branch Rename master branch to main Nov 21, 2020
@arey
Copy link
Member

arey commented Dec 11, 2021

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

@arey arey self-assigned this Dec 28, 2023
@arey
Copy link
Member

arey commented Dec 28, 2023

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 added a commit to arey/spring-petclinic-microservices that referenced this issue Dec 28, 2023
arey added a commit that referenced this issue Dec 28, 2023
@arey arey closed this as completed Dec 28, 2023
DavidMolta18 pushed a commit to Distribuidos2024/spring-petclinic-microservices that referenced this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants