jj-git-clone

clones a Git repository into a Jujutsu workspace

TLDR

Clone repository
$ jj git clone [url]
Clone to specific directory
$ jj git clone [url] [directory]
Clone with colocated Git
$ jj git clone --colocate [url]

SYNOPSIS

jj git clone [options] url [directory]

DESCRIPTION

jj git clone clones a Git repository into a Jujutsu workspace. It fetches all branches and creates the jj internal structure.The colocate option keeps Git and jj data together. This enables using both tools on the same repository.

PARAMETERS

URL

Git repository URL.
DIRECTORY
Target directory.
--colocate
Create colocated jj/Git repo.
--help
Display help information.

INSTALL

sudo pacman -S jujutsu
sudo apk add jujutsu
sudo zypper install jujutsu
brew install jujutsu
nix profile install nixpkgs#jujutsu

CAVEATS

Subcommand of jj. Creates jj workspace. Colocate for dual Git/jj use.

HISTORY

jj git clone is part of Jujutsu, enabling seamless cloning from any Git hosting service.

SEE ALSO

jj(1), jj-git(1), git-clone(1)