From 1c28498f59e184196681635460c4c0954327f201 Mon Sep 17 00:00:00 2001 From: Vincent Ging Ho Yim Date: Fri, 18 Oct 2024 12:13:55 +1100 Subject: [PATCH] docs: fix typos in `immutable_heads()` example --- docs/config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.md b/docs/config.md index ebf24f771..2b1dab746 100644 --- a/docs/config.md +++ b/docs/config.md @@ -268,10 +268,10 @@ You can configure the set of immutable commits via `revset-aliases."immutable_heads()"`. The default set of immutable heads is `builtin_immutable_heads()`, which in turn is defined as `present(trunk()) | tags() | untracked_remote_bookmarks()`. For example, to -also consider the `maint@origin` bookmark immutable: +also consider the `main@origin` bookmark immutable: ```toml -revset-aliases."immutable_heads()" = "builtin_immutable_heads() | maint@origin" +revset-aliases."immutable_heads()" = "builtin_immutable_heads() | main@origin" ``` To prevent rewriting commits authored by other users: