You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a new user, and I find myself running this too often to know "what would push change":
$ jj diff --from push-xxxyyyzzz@origin --to @
(This is doing it manually for the current branch, and not everything that would be pushed.)
My questions are:
is there a shortcut/alias I could use for the command above? I read the revset docs, but I cannot figure out how to get the current tracking remote branch (sorry if it's documented somewhere, I couldn't find it)
could there perhaps be something like jj git push --dry-run --diff that shows me the changes that would be pushed (for all branches)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I'm a new user, and I find myself running this too often to know "what would push change":
(This is doing it manually for the current branch, and not everything that would be pushed.)
My questions are:
is there a shortcut/alias I could use for the command above? I read the revset docs, but I cannot figure out how to get the current tracking remote branch (sorry if it's documented somewhere, I couldn't find it)
could there perhaps be something like
jj git push --dry-run --diff
that shows me the changes that would be pushed (for all branches)?Any tips welcome, thanks!
Beta Was this translation helpful? Give feedback.
All reactions