docs: Add a section to the README about the branch rename

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #2348
This commit is contained in:
Philip Withnall 2021-06-07 13:26:46 +01:00
parent 24e459e3d8
commit d81165216d

View File

@ -47,3 +47,16 @@ Closes: #123
Otherwise, create a new merge request that introduces the change, filing a
separate issue is not required.
## Default branch renamed to `main`
The default development branch of GLib has been renamed to `main`. To update
your local checkout, 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
```