Our default branch is now `main`

As of this morning, our main repo discourse/discourse has renamed its main branch from master to main to avoid slavery references.

We’ve spent a long time slowly renaming all our branches and updating our code base to support this change. However, some things may break. Please use this topic to report any errors you encounter.

If you already have a version of discourse checked out on your computer for development you will have to rename it. Github conveniently offers the following instructions:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git checkout main
45 Likes