LinuxCommandLibrary

jj-git-init

initializes a Jujutsu repository with Git backend

TLDR

Initialize jj in existing Git repo

$ jj git init --git-repo=.
copy
Create new jj repo with Git backend
$ jj git init [path]
copy
Colocate with Git repo
$ jj git init --colocate
copy

SYNOPSIS

jj git init [options] [path]

DESCRIPTION

jj git init initializes a Jujutsu repository with Git backend. Can work alongside an existing Git repository, allowing both jj and git commands on the same repo. Creates .jj directory for jj metadata.

PARAMETERS

--git-repo path

Path to existing Git repository.
--colocate
Create colocated jj/Git repo.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community