diff options
author | Florian Müllner <fmuellner@gnome.org> | 2021-07-14 21:14:32 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2021-07-18 23:14:16 +0200 |
commit | 7862f143937e43dca0513af3a24dabfb4d0db4fc (patch) | |
tree | b9276894dc540d70bd3a636cc52fd4cfb87f5e03 /README.md | |
parent | 3b49ecea9f6fe97429ef66b3ca8c8ff4ee91ede7 (diff) | |
download | mutter-7862f143937e43dca0513af3a24dabfb4d0db4fc.tar.gz |
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>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 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 Mutter is distributed under the terms of the GNU General Public License, |