自習用にGitリポジトリを作成するために、久しぶりにCodeCommit
を開いた際に以下のようなInfomatin
が表示されました。
イメージ
訳
Starting on March 4, 2021 at 17:00 UTC, repositories created with an initial commit of code using AWS CloudFormation stacks will use 'main' instead of 'master' as the name of the default branch.
2021年3月4日17:00UTC以降、AWS CloudFormationスタックを使用してコードの初期コミットで作成されたリポジトリは、デフォルトブランチの名前として「master」ではなく「main」を使用します。
To avoid impact from this change, you should update your templates to use the BranchName property or modify any code that expects 'master' as the default branch.
この変更による影響を回避するには、BranchNameプロパティを使用するようにテンプレートを更新するか、デフォルトのブランチとして「master」を期待するコードを変更する必要があります。
For more information, see the documentation and this support article.
詳細については、ドキュメントとこのサポート記事を参照してください。
影響の範囲
- Jenkinsのパイプライン(Jobの組み合わせ)を用いて自動化している作業の中で、ブランチ名を指定してPullする工程があるので変更が必要になるかもしれない。
- masterブランチを直接指定は指定ないと思うが、、、