summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2023-04-23 17:56:37 +0000
committerAntónio Fernandes <antoniof@gnome.org>2023-04-23 17:56:37 +0000
commiteb6f82495ee38105f5297938fa4353bd2cf835ad (patch)
tree4bee481f0042a2caa3d0db9baabec98295b6313d
parent403cfb97558b239b023b5b0978498d894500405a (diff)
downloadnautilus-eb6f82495ee38105f5297938fa4353bd2cf835ad.tar.gz
README: Provide instructions to update default branch
Adapted from gnome-software
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
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.