Skip to content

Commit

Permalink
docs: describe push.branch-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvonz committed Aug 3, 2023
1 parent 0b9d23c commit bf2af12
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,14 @@ branches. Since the local branch isn't created, the remote branch will be
deleted if you push the branch with `jj git push --branch` or `jj git push
--all`.

### Prefix for generated branches on push

`jj git push --change` generates branch names with a prefix of "push-" by
default. You can pick a different prefix by setting `push.branch-prefix`. For
example:

push.branch-prefix = "martinvonz/push-"

## Filesystem monitor

In large repositories, it may be beneficial to use a "filesystem monitor" to
Expand Down

0 comments on commit bf2af12

Please sign in to comment.