specifying revsets: Is there a good intuition for different argument names? #6457
-
|
There are 5 different ways to specify revsets to commands, as far as I'm aware.
Is there an intuition which could help me understand what ways of specifying revsets a command is likely to use without just learning them all?... ...I think ... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
This is true, but
And also where to rebase them:
|
Beta Was this translation helpful? Give feedback.
jj rebasecan rebase multiple revisions at once, whereasjj splitcan only split a single revision. That's why one is--revisionsand the other is--revision. I always use the short option-rso I don't have to worry about the difference.jj squash -r foois shorthand forjj squash --from foo --into foo-. The "primitive" operation isjj squash --from REV --into REV, but squashing a revision into its parent is very common, so-rexists for that use case.jj new,jj abandon,jj describe, andjj showcan all take a-r, so you can type it if it helps your muscle memory. However, those commands will never take aPATHargument (which is always positional), so as a convenience you can leave off …