Subject: Re: How can i find the origin of a branch?

From: Kristian Amlie <[email-masked]>
Date: Mon, 15 Jun 2009 13:57:53 +0200

ext Dotan Barak wrote:
> Hi.
> 
> Is it possible to find the origin of a branch?
> (the remote repository that this branch was cloned and checked out from)

git config -l

Assuming you're on the master branch, branch.master.remote and
branch.master.merge will tell you which remote and which branch you are
tracking. Assuming that the remote is origin, you can check
remote.origin.url to see the URL of the repo.

--
Kristian