Files
heartwood/crates/radicle-cli/examples/jj-init-bare.md
T
Lorenz Leutgeb 9e1d6b1feb radicle: Detect current repository using jj
When using Jujutsu and a non-colocated Git repository, the detection
using `git2` directly fails (just as `git` in a shell would fail)
because there is no `.git` directory found by traversing up the
filesystem hierarchy.

Add an invocation of `jj git root` as a fallback.
2025-09-26 12:03:01 +01:00

491 B

We initialize Jujutusu for our repository for use with a bare Git repo.

$ jj git init --git-repo heartwood heartwood.jj
Done importing changes from the underlying Git repo.
Working copy  (@) now at: lvxkkpmk 9ec513df (empty) (no description set)
Parent commit (@-)      : xpnzuzwn f2de534b master | Second commit
Added 1 files, modified 0 files, removed 0 files
Initialized repo in "heartwood.jj"
$ cd heartwood.jj
$ rad .
rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji