Re:Jujutsu for Everyone
by Izkata on Sunday August 31, 2025 @11:46PM
(#45089262)
The git commands are "create new branch at HEAD and switch to it", and the context of the thread above sounded like that's the functionality they wanted?
[ Parent
| on HN ]
Re:Jujutsu for Everyone
by steveklabnik on Monday September 01, 2025 @01:07AM
(#45089628)
“jj bookmark set” doesn’t create a new branch and switch to it. It updates the head of an existing branch to a new place.
jj doesn’t have a “name a new branch and switch to it” command, because you usually don’t bother naming branches until you’re using them up to a forge, and there’s no “current branch” concept. I creat new named branches with “jj git push -c” which names it for me, and switching branches is closest to jj new or jj edit.