README: Updates
Drop the section that talked about main and how to update local checkouts - its been 2 years, people should have gotten around to it by now. Add some general git hints instead.
This commit is contained in:
17
README.md
17
README.md
@@ -116,19 +116,12 @@ docs/reference/gtk/html/gtk-building.html
|
|||||||
|
|
||||||
Or [online](https://docs.gtk.org/gtk4/building.html)
|
Or [online](https://docs.gtk.org/gtk4/building.html)
|
||||||
|
|
||||||
Default branch renamed to `main`
|
Building from git
|
||||||
--------------------------------
|
-----------------
|
||||||
|
|
||||||
The default development branch of GTK has been renamed to `main`.
|
The GTK sources are hosted on [gitlab.gnome.org](http://gitlab.gnome.org). The main
|
||||||
To update your local checkout, use:
|
development branch is called `main`, and stable branches are named after their minor
|
||||||
```sh
|
version, for example `gtk-4-10`.
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
How to report bugs
|
How to report bugs
|
||||||
------------------
|
------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user