mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1930>
This commit is contained in:
parent
3b49ecea9f
commit
7862f14393
13
README.md
13
README.md
@ -42,6 +42,19 @@ commit subjects with a relevant topic, such as `compositor:` or
|
|||||||
`clutter/actor:`, and it's always better to write too much in the commit
|
`clutter/actor:`, and it's always better to write too much in the commit
|
||||||
message body than too little.
|
message body than too little.
|
||||||
|
|
||||||
|
## 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
|
## License
|
||||||
|
|
||||||
Mutter is distributed under the terms of the GNU General Public License,
|
Mutter is distributed under the terms of the GNU General Public License,
|
||||||
|
Loading…
Reference in New Issue
Block a user