Options (4)
-b, --bookmarkbooleanPush a bookmark to the given remote (defaults to `git.push` setting)
Example:
jj git push {{[-b|--bookmark]}} {{bookmark}} --remote {{remote}}-N, --allow-newbooleanPush a new bookmark
Example:
jj git push {{[-b|--bookmark]}} {{bookmark}} {{[-N|--allow-new]}}-r, --revisionsbooleanPush all bookmarks pointing to given revisions
Example:
jj git push {{[-r|--revisions]}} {{revset}}-c, --changebooleanPush changes/commits by creating new bookmarks (Name format is as per `templates.git_push_bookmark` setting, defaults to `"push-" ++ change_id.short()`)
Example:
jj git push {{[-c|--change]}} {{revset}}Examples (7)
Push a bookmark to the given remote (defaults to `git.push` setting)
jj git push [-b|--bookmark] bookmark --remote remotePush a new bookmark
jj git push [-b|--bookmark] bookmark [-N|--allow-new]Push all tracked bookmarks
jj git push --trackedPush all bookmarks (including new bookmarks)
jj git push --allPush all bookmarks pointing to given revisions
jj git push [-r|--revisions] revsetPush changes/commits by creating new bookmarks (Name format is as per `templates.git_push_bookmark` setting, defaults to `"push-" ++ change_id.short()`)
jj git push [-c|--change] revsetPush a revision with the given name
jj git push --named name=revisionmade by @shridhargupta | data from tldr-pages