LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-git-push

pushes changes to Git remotes

TLDR

Push current bookmark
$ jj git push
copy
Push specific bookmark
$ jj git push --bookmark [name]
copy
Push all bookmarks
$ jj git push --all
copy
Push to specific remote
$ jj git push --remote [origin]
copy
Push a change by creating a bookmark automatically
$ jj git push --change [change_id]
copy
Dry run
$ jj git push --dry-run
copy
Push tracked bookmarks and delete removed ones
$ jj git push --tracked --deleted
copy

SYNOPSIS

jj git push [options]

DESCRIPTION

jj git push pushes changes to Git remotes. It translates jj bookmarks to Git branches for pushing. All commits in the range from the remote's current position up to and including the bookmark's target commit are pushed.The --change flag is convenient for pushing a single change without manually creating and managing a bookmark.

PARAMETERS

-b, --bookmark NAME

Bookmark to push (can be repeated).
--all
Push all bookmarks.
--tracked
Push all tracked bookmarks.
--deleted
Push bookmarks that have been deleted locally.
-c, --change CHANGE
Push this change by creating a bookmark based on the change ID.
-r, --revisions REVISIONS
Push bookmarks pointing to the specified revisions.
--remote NAME
Target remote (default: origin).
--dry-run
Show what would be pushed without actually pushing.
-h, --help
Display help information.

INSTALL

sudo pacman -S jujutsu
copy
sudo apk add jujutsu
copy
sudo zypper install jujutsu
copy
brew install jujutsu
copy
nix profile install nixpkgs#jujutsu
copy

CAVEATS

Requires a bookmark on the changes to push. The remote must already be configured. Empty revisions produce a warning when bookmarked.

HISTORY

jj git push is part of Jujutsu, enabling collaboration through Git hosting services.

SEE ALSO

jj(1), jj-git(1), git-push(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid