From: Junio C Hamano Date: Thu, 12 May 2011 16:49:53 GMT Subject: Re: fast forward a branch from another Message-ID: <7vfwojdfta.fsf@alter.siamese.dyndns.org> In-Reply-To: <4DCC0A4F.7000800@cisco.com> Phil Hord writes: > I don't see this feature listed in the git push [REMOTES] section. Is > it documented somewhere else? Both "git help push" and "git help pull" will tell you in the "Git URLs" section that a local file path is a way to name a repository. Therefore, you can say "git ls-remote $(pwd)" to list the the refs from the current repository. If you are in git.git directory, "git ls-remote ../git.git" does the same thing, so does "git ls-remote .". These are merely specializations of more general "git push $path $refspec" and nothing noteworthy.