Commit b58f0577 authored by Florian Müllner's avatar Florian Müllner Committed by Marge Bot
Browse files

docs: Add README section for default branch

We are about to change it, so briefly outline how to update local
checkouts.

(Copied from glib)

Part-of: <!1914>
parent 28f64072
Pipeline #298490 waiting for manual action with stages
......@@ -20,6 +20,19 @@ Commit messages should follow the [GNOME commit message
guidelines](https://wiki.gnome.org/Git/CommitMessages). We require an URL
to either an issue or a merge request in each commit.
## Default branch
The default development branch is `main`. If you still have a local
checkout under the old name, use:
```sh
git checkout master
git branch -m master main
git fetch
git branch --unset-upstream
git branch -u origin/main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
```
## License
GNOME Shell is distributed under the terms of the GNU General Public License,
version 2 or later. See the [COPYING][license] file for details.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment