[gnome-boxes/main] Rename default development branch to "main"




commit 7e7e70cc9c0650e638d59f0136fba5e8b93433d2
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Mar 29 10:46:10 2022 +0200

    Rename default development branch to "main"
    
    This adds instructions to update local checkouts to HACKING.md.
    
    Inspired by
    https://gitlab.gnome.org/GNOME/glib/-/issues/2348#note_1104923
    
    Signed-off-by: Felipe Borges <felipeborges gnome org>

 HACKING.md                             | 14 ++++++++++++++
 build-aux/flatpak/org.gnome.Boxes.json |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/HACKING.md b/HACKING.md
index d00ea782..fe1d005c 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -85,3 +85,17 @@ Coding Style.
         ...
     }
 ```
+
+## Default branch renamed to main
+
+The default development branch has been renamed to `main`. To update
+your local checkout, use:
+
+```
+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
+```
diff --git a/build-aux/flatpak/org.gnome.Boxes.json b/build-aux/flatpak/org.gnome.Boxes.json
index 190d5294..27e90e70 100644
--- a/build-aux/flatpak/org.gnome.Boxes.json
+++ b/build-aux/flatpak/org.gnome.Boxes.json
@@ -435,7 +435,7 @@
                 "-Dflatpak=true",
                 "-Dprofile=development",
                 "-Ddistributor_name=gnome-boxes-nightly",
-                "-Ddistributor_version=master",
+                "-Ddistributor_version=main",
                 "-Drdp=false"
             ],
             "sources": [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]