README: Provide instructions to update default branch

Adapted from gnome-software
This commit is contained in:
António Fernandes 2023-04-23 17:56:37 +00:00
parent 403cfb9755
commit eb6f82495e

View file

@ -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.