Replies: 4 comments 7 replies
-
|
I know that @sheremetyev is thinking about this a lot with (proprietary, but free-as-in-beer) https://visualjj.com. See also #5388. |
Beta Was this translation helpful? Give feedback.
-
|
What are the |
Beta Was this translation helpful? Give feedback.
-
|
The part of this workflow that jj can't do today is fetch and push to the special If you colocate your repository, you can do the fetch and push with git or There's no shame in using git commands, that's what makes colocation such a great feature. |
Beta Was this translation helpful? Give feedback.
-
|
An update on the workflow after a few weeks, after realizing that
So it's quite a bit closer to a regular git workflow. No manual setting of remotes and such is necessary after all. Just that one |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using jj for my projects for a few months and very much enjoying it. Thanks for making such a great improvement on the git workflows!
However, I'm experiencing some friction when reviewing and/or editing GitHub pull requests into my projects. Editing is very important, I will frequently rebase and do some final edits before merging the PR. GitHub allows maintainers to push to the PR's branch by default, which is what I use here.
With regular git, my workflow is:
gh pr checkout 1234git push --forcewhich will push straight into the PR branch on the author's repo, thanks toghsetting up apushRemoteconfig for the branch.With jj, it's quite a bit more involved:
git remote add authorname $(wl-paste)git fetch authornamejj b track branchname@authorname(typing this out manually, Tab-complete doesn't work here): required to make the changes mutablebranchnamebookmark.jj git push --remote authorname -b branchnameIt's also a bit annoying when the author updates the PR and I pull it for a second round of review and edits:
git fetch authorname(jj git fetch --remote authornameworks the same way here as far as I can tell)Also note how, compared to git and gh:
mainbranch for the PR, I have to additionally restore tracking of mymain@origininstead ofmain@authorname.My question is: can I reduce this friction somehow? Perhaps there's feature request I can follow that will improve this kind of workflow? I see #4555 but it appears to be more about creating new PRs and not reviewing/editing others' PRs.
Beta Was this translation helpful? Give feedback.
All reactions