How does gitlab delete the default main branch and set the master branch as the main branch
Table of contents
How does gitlab delete the default main branch and set the master branch as the main branch
Step 1: Open the project on gitlab
Step 2: Open Branches in Repositcry
Step 3: Find the project settings and click to enter
Step 5: Switch back to branch details
Step 1: Open the project on gitlab
Step 2: Open Branches in Repositcry
Step 3: Find the project settings and click to enter
Step 4: In the default branch Default branch, change the main branch to the master branch, and click Save Changes
Step 5: Switch back to branch details
At this point, you can click to delete the main branch.