From: Jeff King Date: Fri, 26 Feb 2010 15:20:43 GMT Subject: Re: Different Fetch and Push URLs? Message-ID: <20100226152043.GA26963@coredump.intra.peff.net> In-Reply-To: On Fri, Feb 26, 2010 at 10:01:40AM -0500, Tim Visher wrote: > 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. Try "remote.*.pushurl". It's in git-config(1) and in git-push(1) under "Named remote in configuration file". -Peff