Skip to content

Select all my branches with the goal of rebasing them all on the trunk #4974

Answered by jennings
jennings asked this question in Nice Revsets
Discussion options

You must be logged in to vote

The revset mutable() & mine() may be enough to select all branches you're interested in. Use --branch to rebase all branches containing those commits (short form: -b).

$ jj rebase -b 'all:mutable() & mine()' -d trunk()

This revset was written by pelme in Discord.

Replies: 1 comment

Comment options

jennings
Nov 25, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by jennings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant