summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2021-07-12 14:00:59 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2021-07-12 14:00:59 +0100
commitb741c223ae203c1c5014e777172cd3466dd59c1b (patch)
tree3cfbb714850e3fadfde8cf933d4706a99e1f6743
parentd4f5b87507c43d6417c0af34b0db6615043caadb (diff)
downloadlibgdata-b741c223ae203c1c5014e777172cd3466dd59c1b.tar.gz
docs: Document rename of master branch to main
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index c969b109..7ff4576d 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,19 @@ LIBGDATA_DEBUG=3 ./my-program-name &> libgdata.log
If `LIBGDATA_DISABLE_DEPRECATED` is defined when compiling against libgdata, all
deprecated API will be removed from included headers.
+## Default branch renamed to `main`
+
+The default development branch of libgdata 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
+```
+
## Licensing
libgdata is licensed under the LGPL; see COPYING for more details.