mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
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:
parent
24e459e3d8
commit
d81165216d
13
README.md
13
README.md
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user