1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 08:35:24 +02:00
This commit is contained in:
Agam Agarwal 2025-07-01 15:13:56 +05:30 committed by GitHub
commit e9ce91d953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
pages/common/jj-git.md Normal file
View file

@ -0,0 +1,24 @@
# jj git
> Run Git-related commands for a `jj` repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git>.
- Create a new Git backed repository:
`jj git init`
- Create a new repository backed by a clone of a Git repository:
`jj git clone {{source}}`
- Fetch from a Git remote:
`jj git fetch`
- Push all tracked bookmarks to Git remote:
`jj git push`
- Push given bookmark to Git remote:
`jj git push {{[-b|--bookmark]}} {{bookmark}}`