Configuring the repository URL and default branch

When adding a new app to Bitrise, you specify a repository that is used to store your source code, and a branch that Bitrise uses as the default branch.

Once the app is set up, you can change these at any time.

Changing the repository URL

The repository URL is the address where your repository can be accessed by Bitrise. It can be either an SSH URL or an HTTPS URL: we strongly recommend using SSH URLs for all private apps for security reasons.

If you move your project's repository, or the URL changes for any other reason, you can update it on Bitrise and continue building without an issue.

Admin access only

Only users with the role of admin on the app's team can access the Settings page of an app.

  1. Open your app on Bitrise.

  2. Go to the Settings tab.

  3. Find the REPOSITORY URL option.

  4. Enter the new URL.

  5. Click Save changes.

Changing the default branch

The default branch is the branch of your repository that Bitrise will use if no other configuration indicates otherwise.

You can change the default branch at any time.

Admin access only

Only users with the role of admin on the app's team can access the Settings page of an app.

  1. Open your app on Bitrise.

  2. Go to the Settings tab.

  3. Find the DEFAULT BRANCH option.

  4. Type the name of the branch you want to use as default branch.

  5. Click Save changes.