Gitのデフォルトブランチを"master"から"main"に変える方法
tl;dr
git branch --move master maingit remote set-head origin --auto
サンプルはこちら。 https://github.com/mazgi-sandbox/202010.change-git-default-branch
git branch --move master maingit remote set-head origin --autoサンプルはこちら。 https://github.com/mazgi-sandbox/202010.change-git-default-branch
2013年11月15日(金)、東京ミッドタウンのYahoo! JAPANで開催された「GitHub トレーニングチームから学ぶ Git の内部構造」に参加しました。