From: Junio C Hamano Date: Thu, 27 Aug 2009 21:44:54 GMT Subject: Re: Question regarding git fetch Message-ID: <7v7hwpors9.fsf@alter.siamese.dyndns.org> In-Reply-To: <20090827213426.GD4399@coredump.intra.peff.net> Jeff King writes: > # we usually fetch the remote's master straight into our production > # branch for deployment > $ git config remote.origin.fetch refs/heads/master:refs/heads/production > > # but today let's demo it first > $ git fetch origin master:demo I think this is a good example that any change results from this discussion should apply _only_ to cases where command line refspecs lack colon (i.e. used to mean "do not store this anywhere but in FETCH_HEAD").