E2E test for default branch name instance setting
Test creating a project via GitLab:
- Set
default_branch_name
tomain
via the API. - Create a new project with a readme.
- Confirm that the project's default branch is
main
via the API. - Clone the repo and confirm via Git CLI that the default branch is
main
.
Test creating a project from a Git repo via the CLI:
- Set
default_branch_name
tomain
via the API. - Create a new repo via the Git CLI with a different branch name (e.g.,
trunk
). - Push to create a new project.
- Confirm that the project's default branch is
trunk
via the API.
Edited by Mark Lapierre