$ jj git init --colocate
To garbage collect a jujutsu repo, use
$ jj util gc
or
$ jj util gc --expire now
$ rm -rf .jj
$ git for-each-ref -- 'refs/jj/keep/*'
$ git for-each-ref --format='%(refname)' -- 'refs/jj/keep/*' | xargs -l1 git update-ref -d
$ jj bookmark set new_branch_name
$ jj git push --allow-new
If you have a tracking branch already
$ jj bookmark set old_branch_name
$ jj git push
If you dont have a tracking branch already
$ jj bookmark track old_branch_name@origin
$ jj bookmark set old_branch_name
$ jj git push