On 5 September 2010 17:16, Ævar Arnfjörð Bjarmason <[email protected]> wrote:

> On Sun, Sep 5, 2010 at 15:54, [email protected] <[email protected]>
> wrote:
> > I am frequently in the situation where my local repo is tracking an
> > open source project repo, which I don't have write access to, and I
> > want to push to my public fork of the project repo (this way of doing
> > things is encouraged on sites like Github). So I want to pull from the
> > main project repo, which is why I set it to track that repo, but I
> > want to push to my own public repo. As it stands now, I have to keep
> > copying and pasting the (ssh) git URL of my public repo every time I
> > want to do that. Couldn't magit keep track of multiple upstreams?
>
> magit aside, you probably want url.<base>.pushInsteadOf in your config.
>

Thanks - however, I'm surprised to see that the patch I've just pushed no
longer shows up
as an unpushed change - even when I kill the magit-status buffer and rerun
magit-status.

Will unpulled changes "work" - i.e. will they be calculated based on the
upstream repo, rather than
my fork?

-- 
Robin

Reply via email to