You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am now co-maintaining a project which is currently both on GitHub and Sourcehut, and where I have my official repo. On the top of that I have in my jj git remote list also other contributors’ repos, so:
$ jj git remote list|wc -l
10
$
So, I have one master branch on GitHub to push to, one on Sourcehut, third in my personal repo on Sourcehut, and bunch of topic branches there as well. With frequent rebases with jujutsu (which is good), I need to update those branches on the git repos more often. It would be awfully convenient to have something like git branch --set-upstream-to or perhaps the push-direction association between a bookmark and the tracking, so I could just run jj git push --all-remotes and everything would be sorted to the proper remotes.
Yes, I understand, I can hack something with a custom aliases in the config, but that’s awkward and everything is hard-coded. Any hope for the equivalent of git branch -u?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am now co-maintaining a project which is currently both on GitHub and Sourcehut, and where I have my official repo. On the top of that I have in my
jj git remote listalso other contributors’ repos, so:$ jj git remote list|wc -l 10 $So, I have one
masterbranch on GitHub to push to, one on Sourcehut, third in my personal repo on Sourcehut, and bunch of topic branches there as well. With frequent rebases with jujutsu (which is good), I need to update those branches on the git repos more often. It would be awfully convenient to have something likegit branch --set-upstream-toor perhaps the push-direction association between a bookmark and the tracking, so I could just runjj git push --all-remotesand everything would be sorted to the proper remotes.Yes, I understand, I can hack something with a custom aliases in the config, but that’s awkward and everything is hard-coded. Any hope for the equivalent of
git branch -u?Beta Was this translation helpful? Give feedback.
All reactions