Re: [PATCH 1/3] fetch: add --allow-local option
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 16, 2013, 09:58 UTC
- Message-ID
- <CALkWK0kwia-OQj_=B7A3k6_DxCJShqoJehNQu8eApgdo=OzQwg@mail.gmail.com>
- In-Reply-To
- <CAMP44s0x62h+n29osEdRvuhBtvDY7bD3m1_jDq4ZDMrgFwP0ow@mail.gmail.com>
Felipe Contreras wrote:
> Why would I do that? When I do 'git rebase' I want to rebase on top of > 'master', not 'origin/master' (or whatever the upstream of 'master' > is).
Ah, so you want @{u} to point to refs/heads/master, but want to modify fetch to act on the hard-coded "origin", not @{u} (wouldn't you like to be able to configure this?). Seems a bit yuck overall; I wonder if there's some other way to achieve what you want.