Different Fetch and Push URLs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Everyone,

My work situation leaves me in a situation where I can clone from my
central repo but I can't push there.  Is it possible and does it make
any sense to have a single remote with one URL that I pull from and
another than I push to?  I only ask because I was looking at the
output of `git remote show` and noticed that there are 2 URLs.  If it
is possible, how do I do it?  I looked in `.git/config` and there's
only 1 URL there.

I am aware that I could have 2 remotes and simply consciously remember
to only push to the one that I have access to.  This is what I usually
do but the scenario I describe above seems nicer to me.

Thanks!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]