LinuxCommandLibrary

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community