2 ms·
You can name branches in JJ too, they're just called bookmarks. git checkout main git pull git switch -c jira-234 ... git commit git push -u origin main jj gi
by Zizizizz 6mo ago
You can name branches in JJ too, they're just called bookmarks.
git checkout main
git pull
git switch -c jira-234
...
git commit
git push -u origin main
jj git fetch
jj new main
...
jj commit
jj b(ookmark) c(reate) jira-234 -r @-
jj b(ookmark) t(rack) jira-234@origin
jj git push
- steveklabnik 6mo agoRight, this is a good point: you can if you want to, or if you're working with a system that requires them. Just in practice, anonymous branches end up feeling very natural, especially during development, and especially if your code review tooling doesn't require names.