From eb6f82495ee38105f5297938fa4353bd2cf835ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= Date: Sun, 23 Apr 2023 17:56:37 +0000 Subject: README: Provide instructions to update default branch Adapted from gnome-software --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index b35d347ed..ca1f28c61 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,19 @@ for building GNOME apps with Flatpak and GNOME Builder. Commit messages should follow the expected format [detailed here](https://wiki.gnome.org/Git/CommitMessages). +### Update default branch + +The default development branch of nautilus 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 +``` + ## Runtime dependencies - [Bubblewrap](https://github.com/projectatomic/bubblewrap) installed. Used for security reasons. - [Tracker (including tracker-miners)](https://gitlab.gnome.org/GNOME/tracker) properly set up and with all features enabled. Used for fast search and metadata extraction, starred files and batch renaming. -- cgit v1.2.1