How to change the main branch

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


 

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

   

要約

You may, at some point, wish to change the main branch used by your repository in Bitbucket Cloud.

環境

Bitbucket Cloud repository 

ソリューション

To change the current main branch to a different branch, you will need to follow the steps below:

The following steps will need to be performed by a repository administrator, if you do not have repository administrator permissions - you will need to reach out to a user who does and have them perform the steps outlined below.

  1. Create a new branch from the current main branch (if not already created)
  2. Access Repository Settings > Repository Details and expand the Advanced dropdown to reveal the branch options
  3. In the Main Branch dialogue select the new branch from the dropdown list that you want to set as the main branch
  4. Click Save Changes when complete


If you are issues after following the steps within this article, please feel free to raise a support ticket or raise a community support ticket for further assistance.

最終更新日: 2024 年 12 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.