Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

“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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: