From 9a5c19a3c611a5c626695e25a568cd8f153002dc Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 5 Nov 2023 07:44:30 -0800 Subject: [PATCH] contributing.md: suggest making the `gh-pages` branch immutable --- docs/contributing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/contributing.md b/docs/contributing.md index b3c8cd91d..c6807656d 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -104,6 +104,13 @@ installer options are fine), clone the repository, and use `cargo build` `cargo test --workspace`. If you are preparing a PR, there are some additional recommended steps. +You will probably also want to make the `gh-pages` branch immutable (and thereby +hidden from the default `jj log` output) by running the following in your repo: + +```shell +jj config set --repo "revset-aliases.immutable_heads()" "main@origin | gh-pages@origin" +``` + ### Summary One-time setup: