mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
cli: fix doc about colocated repo created by "jj git init --git-repo=."
Ref changes are imported and exported automatically so long as jj and git share the same workspace directory.
This commit is contained in:
parent
b13cfef095
commit
4f0db3607a
1 changed files with 1 additions and 5 deletions
|
@ -142,11 +142,7 @@ pub struct GitInitArgs {
|
|||
/// If the specified `--git-repo` path happens to be the same as
|
||||
/// the `jj` repo path (both .jj and .git directories are in the
|
||||
/// same working directory), then both `jj` and `git` commands
|
||||
/// will work on the repo, with the exception that changes from `jj`
|
||||
/// will not be auto-exported to the git repo.
|
||||
///
|
||||
/// Auto-exporting from `jj` to `git` is only enabled for new repos.
|
||||
/// See `--colocate` above.
|
||||
/// will work on the same repo. This is called a co-located repo.
|
||||
///
|
||||
/// This option is mutually exclusive with `--colocate`.
|
||||
#[arg(long, conflicts_with = "colocate", value_hint = clap::ValueHint::DirPath)]
|
||||
|
|
Loading…
Reference in a new issue