Skip to content

Rename default branch from master to main#70

Merged
ikuwow merged 5 commits intomasterfrom
feature/rename-master-to-main
Feb 17, 2026
Merged

Rename default branch from master to main#70
ikuwow merged 5 commits intomasterfrom
feature/rename-master-to-main

Conversation

@ikuwow
Copy link
Owner

@ikuwow ikuwow commented Feb 17, 2026

Summary

  • デフォルトブランチ名の master への参照を main に変更します
  • 対象ファイル: bootstrap.sh, README.md, CLAUDE.md, .github/workflows/bootstrap.yml
  • bin/git-delete-squashed は既に main/master 両方に対応済みのため変更不要です
  • 外部リポジトリへのURL(Homebrew, vim-plug等)は変更していません

デフォルトブランチ変更手順

このPRのマージ前後で以下の手順を実施します。

1. このPRをマージする

2. GitHubでデフォルトブランチを変更する

  1. https://github.com/ikuwow/dotfiles/settings > Default branch で mastermain に変更
  2. Branch protection rules がある場合は main 向けに再設定

3. ローカルのブランチ名を変更する

git checkout master
git branch -m master main
git fetch origin
git branch -u origin/main main

4. リモートの旧ブランチを削除する

git push origin --delete master

5. 動作確認

  • git branch -a で main がデフォルトになっていること
  • GitHub Actions が main ブランチで正常に動作すること
  • bootstrap URL (raw.githubusercontent.com/.../main/bootstrap.sh) が正しく取得できること

🤖 Generated with Claude Code

ikuwow and others added 5 commits February 17, 2026 17:25
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@ikuwow ikuwow self-assigned this Feb 17, 2026
@ikuwow ikuwow marked this pull request as ready for review February 17, 2026 08:29
@ikuwow ikuwow merged commit a99ec5f into master Feb 17, 2026
1 check passed
@ikuwow ikuwow deleted the feature/rename-master-to-main branch February 17, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant