Programming Self-Study Notebook

勉強したことを忘れないように! 思い出せるように!!

AWS CodeCommitを開いた時のPopUp(2021.03.13)

f:id:overworker:20210304234231p:plain:h200f:id:overworker:20210313085041p:plain:h200

自習用にGitリポジトリを作成するために、久しぶりにCodeCommitを開いた際に以下のようなInfomatinが表示されました。

イメージ

f:id:overworker:20210313085657p:plain

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ブランチを直接指定は指定ないと思うが、、、