Gitのデフォルトブランチを"master"から"main"に変える方法

tl;dr

  1. git branch --move master main
  2. git remote set-head origin --auto

サンプルはこちら。 https://github.com/mazgi-sandbox/202010.change-git-default-branch

Went to Git Internals: Graphs, Hashed, and Compression at Yahoo! JAPAN #githubjp

2013年11月15日(金)、東京ミッドタウンのYahoo! JAPANで開催された「GitHub トレーニングチームから学ぶ Git の内部構造」に参加しました。