snippetbashTip
jj git — Run Git-related commands for a `jj` repository. More information: <https://docs.jj-vcs.dev/latest/cl
Viewed 0 times
relatedcommandruncommandsclijj gitforgit
Problem
How to use the
jj git command: Run Git-related commands for a jj repository. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git>.Solution
jj git — Run Git-related commands for a jj repository. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git>.Create a new Git backed repository:
jj git initCreate a new repository backed by a clone of a Git repository:
jj git clone {{source}}Fetch from a Git remote:
jj git fetchPush all tracked bookmarks to Git remote:
jj git pushPush given bookmark to Git remote:
jj git push {{[-b|--bookmark]}} {{bookmark}}Code Snippets
Create a new Git backed repository
jj git initCreate a new repository backed by a clone of a Git repository
jj git clone {{source}}Fetch from a Git remote
jj git fetchPush all tracked bookmarks to Git remote
jj git pushPush given bookmark to Git remote
jj git push {{[-b|--bookmark]}} {{bookmark}}Context
tldr-pages: common/jj git
Revisions (0)
No revisions yet.