I just noticed that there was a thread on this topic from just a few
days ago.  Sorry for the duplicate message!

On Aug 4, 10:35 pm, Phil <[email protected]> wrote:
> Hello,
>
> In some of my repos, my .git/config looks something like this:
>
> [remote "home"]
>         url = pjw.homedns.org:commonrc
>         fetch = +refs/heads/master:refs/remotes/home/master
>         push = working:master   # <---- here's the important part
>
> So, when I do "git push", I want to push from my local repo's
> "working" branch to the remote repo's "master" branch.
>
> However, when I type P to push in magit, it runs this command:
>
>      git --no-pager push -v home working
>
> So, it is not paying attention to my configuration and the fact that I
> want to push to master.
>
> Is there currently a way to configure magit to behave how I want?  If
> not, I'd be happy to try to add the functionality if someone can point
> me in the right direction.
>
> Thanks!
> - Phil

Reply via email to