"[email protected]" <[email protected]> writes:

[...]

> So I want to pull from the main project repo, which is why I set it to
> track that repo, 

I set all the project I hack on to track my public repo, and I use
remote update and merge to pull them.

> 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?

git can track several remote, just do
  git remote add myrepo ssh://example.org/repos
in a terminal.

then git and magit will know them.

>
> P.S. Actually it's a little worse with key groups at the moment,
> because the only way I've found to do it with the key groups branch of
> magit is the long-winded C-u M-x magit-push, because C-u seems to have
> no effect if a command is launched via key groups.

With my (very) recent magit with key groups P C-u p do as you want, but
someone will probably add this directly to the key group.


-- 
Rémi Vanicat

Reply via email to