Hello,

after setting the remote initially (e.g. with git-clone, or simply
git-remote-add), you can do this:

git remote set-url remotename --push ssh://push/url.git

See also the man page of git-remote.

Best,
Gergely

Sharan Basappa <sharan.basa...@gmail.com> ezt írta (időpont: 2016. aug.
17., Sze, 4:53):

> Hello All,
>
> I would like to know how one can have multiple remotes such  that one can
> be used for push and one for pull.
> This question is related to my other thread (permissions) but I am opening
> a new thread anyway ...
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to