-
I am reading through the jj for everyone tutorial. Working locally seems easy: Developing stuff -- Committing with But when it comes to pushing committed stuff to my remote, it seems like I need to do (after committing) two additional steps: (Developing stuff -- Committing with Is this correct? And is there a way to combine these two safely? (I think when I push my changes I usually want to push the latest committed stuff and nothing older.) Or do I miss something here? -- Thanks for any pointers! PS: I saw #6832, but I am not sure whether that is about the same issue. They talk about pushing for a PR, but my concern is just normal pushing to my remote. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
jj optimizes for a code review workflow:
In this workflow, it's rare to need to move a bookmark after creating it. Usually, if you open a pull request, you don't need to add a new atomic change (a commit) in response to feedback. Instead, you amend the commits you already created and push updated versions of them. If you are working alone and pushing directly to the On the other hand, because you don't need to create local bookmarks just to keep commits visible, you will possibly juggle bookmarks less often overall. |
Beta Was this translation helpful? Give feedback.
-
There is a |
Beta Was this translation helpful? Give feedback.
jj optimizes for a code review workflow:
In this workflow, it's rare to need to move a bookmark after creating it. Usually, if you open a pull request, you don't need to add a new atomic change (a commit) in response to feedback. Instead, you amend the commits you already created and push updated versions of them.
If you are working alone and pushing directly to the
main
branch, then you'll need to explicitly move a bookmark (main
) more often than expected.On the other hand, because you don't need to create local bookmar…