mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
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.
491 B
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