jj-git-init

initializes a Jujutsu repository with Git backend

TLDR

Create a new colocated jj/Git repo (default)
$ jj git init
Create a new jj repo at a specific path
$ jj git init [path]
Initialize jj using an existing Git repo as the backing store
$ jj git init --git-repo=[path/to/git-repo]

SYNOPSIS

jj git init [options] [path]

DESCRIPTION

jj git init initializes a Jujutsu repository with a Git backend. By default it creates a colocated repo where both `.jj` and `.git` directories exist, allowing both jj and git commands to work on the same repo. IDE Git integration works as-is in colocated mode.

PARAMETERS

--colocate

Create a colocated jj/Git repo. This is the default unless `git.colocate` config is set to false.
--git-repo path
Path to an existing Git repository to use as the backing store. Mutually exclusive with --colocate.

INSTALL

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

SEE ALSO

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