mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 23:23:20 +00:00
docs: fix typos in immutable_heads()
example
This commit is contained in:
parent
5dd6185fbc
commit
670efbebfc
1 changed files with 2 additions and 2 deletions
|
@ -268,10 +268,10 @@ You can configure the set of immutable commits via
|
||||||
`revset-aliases."immutable_heads()"`. The default set of immutable heads is
|
`revset-aliases."immutable_heads()"`. The default set of immutable heads is
|
||||||
`builtin_immutable_heads()`, which in turn is defined as
|
`builtin_immutable_heads()`, which in turn is defined as
|
||||||
`present(trunk()) | tags() | untracked_remote_bookmarks()`. For example, to
|
`present(trunk()) | tags() | untracked_remote_bookmarks()`. For example, to
|
||||||
also consider the `maint@origin` bookmark immutable:
|
also consider the `main@origin` bookmark immutable:
|
||||||
|
|
||||||
```toml
|
```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:
|
To prevent rewriting commits authored by other users:
|
||||||
|
|
Loading…
Reference in a new issue