LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-git-clone

clones a Git repository into a Jujutsu workspace

TLDR

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

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
copy
sudo apk add jujutsu
copy
sudo zypper install jujutsu
copy
brew install jujutsu
copy
nix profile install nixpkgs#jujutsu
copy

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)

Copied to clipboard
Kai