|
1 | | -# Configuration |
| 1 | +--- |
| 2 | +title: Configuration |
| 3 | +--- |
2 | 4 |
|
3 | 5 | These are the config settings available to jj/Jujutsu. |
4 | 6 |
|
@@ -449,11 +451,11 @@ immutable even if the set is empty. |
449 | 451 | Immutable commits (other than the root commit) can be rewritten using the |
450 | 452 | `--ignore-immutable` CLI flag. |
451 | 453 |
|
452 | | -!!! warning |
453 | | - |
454 | | - Using `--ignore-immutable` will allow you to rewrite any commit in the |
455 | | - history, and all descendants, without warning. Use this power wisely, and |
456 | | - remember `jj undo`. |
| 454 | +:::caution |
| 455 | +Using `--ignore-immutable` will allow you to rewrite any commit in the |
| 456 | +history, and all descendants, without warning. Use this power wisely, and |
| 457 | +remember `jj undo`. |
| 458 | +::: |
457 | 459 |
|
458 | 460 | ### Behavior of prev and next commands |
459 | 461 |
|
@@ -845,16 +847,16 @@ execute multiple jj commands with a single alias, or run arbitrary scripts that |
845 | 847 | complement your version control workflow. This can be done, but be aware of the |
846 | 848 | danger: |
847 | 849 |
|
848 | | -!!! warning |
849 | | - |
850 | | - The following technique just provides a convenient syntax for running |
851 | | - arbitrary code on your system. Using it irresponsibly may cause damage |
852 | | - ranging from breaking the behavior of `jj undo` to wiping your file system. |
853 | | - Exercise the same amount of caution while writing these aliases as you would |
854 | | - when typing commands into the terminal! |
| 850 | +:::caution |
| 851 | +The following technique just provides a convenient syntax for running |
| 852 | +arbitrary code on your system. Using it irresponsibly may cause damage |
| 853 | +ranging from breaking the behavior of `jj undo` to wiping your file system. |
| 854 | +Exercise the same amount of caution while writing these aliases as you would |
| 855 | +when typing commands into the terminal! |
855 | 856 |
|
856 | | - This feature may be removed or replaced by an embedded scripting language in |
857 | | - the future. |
| 857 | +This feature may be removed or replaced by an embedded scripting language in |
| 858 | +the future. |
| 859 | +::: |
858 | 860 |
|
859 | 861 | The command `jj util exec` will simply run any command you pass to it as an |
860 | 862 | argument. Additional arguments are passed through. Here are some examples: |
@@ -1431,12 +1433,12 @@ backends.ssh.revocation-list = "/path/to/revocation-list" |
1431 | 1433 | You can use [`jj sign`](./cli-reference.md#jj-sign)/[`jj unsign`](./cli-reference.md#jj-unsign) |
1432 | 1434 | to sign/unsign commits manually. |
1433 | 1435 |
|
1434 | | -!!! warning |
1435 | | - |
1436 | | - `jj sign` always signs commits, even if they are already signed by the |
1437 | | - user. While this is cumbersome for users signing via hardware devices, we |
1438 | | - cannot reliably check if a commit is already signed without creating a |
1439 | | - signature (see [this issue](https://github.com/jj-vcs/jj/issues/5786)). |
| 1436 | +:::caution |
| 1437 | +`jj sign` always signs commits, even if they are already signed by the |
| 1438 | +user. While this is cumbersome for users signing via hardware devices, we |
| 1439 | +cannot reliably check if a commit is already signed without creating a |
| 1440 | +signature (see [this issue](https://github.com/jj-vcs/jj/issues/5786)). |
| 1441 | +::: |
1440 | 1442 |
|
1441 | 1443 | ### Automatically signing commits |
1442 | 1444 |
|
|
0 commit comments