I did try this git/branch ron_nix git/rebase remotes/front/front it ended very badly.
On Fri, Feb 7, 2025 at 1:03 PM ron minnich <rminn...@gmail.com> wrote: > I think you need to rephrase your commands in terms of 9front git. That's > my question. I have no question about how to do it with standard git. > > re Jacob's example: > git/rebase remotes/origin/$upstreambranch > > I'm still a bit lost on just where the commits end up. upstreambranch? > Looking at the source to git/rebase, I got a bit confused. > concrete example: > git/branch > heads/ron_nix > git/pull -f -u 9front > # ok now what? > git/rebase heads/ron_nix$remotes/front/front > ? > > > On Fri, Feb 7, 2025 at 12:05 PM Ben Huntsman <b...@huntsmans.net> wrote: > >> In most repos, I just do something like: >> >> git checkout master >> git fetch --all >> git pull <-- Now I'm up to date with origin, presumably my fork on >> github, etc >> git merge upstream/master <-- Now I'm up to date with the project, >> assuming I added it as upstream >> git checkout x <-- the local branch I want to rebase >> git rebase master <-- now it's rebased to the master >> >> Wouldn't that work for you here too? >> >> -Ben >> >> >> ------------------------------ >> *From:* Jacob Moody <mo...@posixcafe.org> >> *Sent:* Friday, February 7, 2025 9:51 AM >> *To:* 9fans@9fans.net <9fans@9fans.net> >> *Subject:* Re: [9fans] git/rebase for someone used to git pull --rebase >> >> On 2/7/25 10:23, ron minnich wrote: >> > what I'm used to >> > I'm on branch x >> > git pull --rebase origin main >> > >> > with 9front git >> > I'm on branch x >> > git/pull -f origin >> > git/rebase origin/heads/front >> > >> > That does not look right. Reading /bin/git/rebase, I almost think I >> want to do >> > git/branch heads/front >> > git/rebase heads/x >> > >> > but I'm a bit uncertain. I'm not good with branches at the best of >> times. >> >> I think what you're looking for is: >> git/pull -f origin >> git/rebase remotes/origin/$upstreambranch >> >> git/branch -a will give you all the details about what remote branches >> we're tracking. >> >> I don't tend to use our git/rebase much, I tend to just use git/log -se >> branchA..branchB or the inverse to >> get the commit list and git/export and git/import by hand. Or stash my >> current branch, reset the one tracking >> upstream and then go from there. >> >> Thanks, >> moody >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions >> <https://9fans.topicbox.com/groups/9fans> + participants >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink >> <https://9fans.topicbox.com/groups/9fans/T9075ee3b04492dd0-M57cbb0b0c0708356df2a8fb8> ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9075ee3b04492dd0-M897a494c3b88d02251d70e11 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription