jj git init
all
Create a new Git backed Jujutsu repo. Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it.
More info →Examples (4)
Create a new Git backed repo in the current directory
Create a new Git backed repo in the given directory
jj git init path/to/directoryInitialize the Jujutsu repository as a valid Git repository (allowing the use of both `jj` and `git` commands in the same directory)
jj git init --colocateInitialize the Jujutsu repository backed by an existing Git repository
jj git init --git-repo git_repomade by @shridhargupta | data from tldr-pages