2009/6/15 Kristian Amlie <kristian.amlie@xxxxxxxxx>: > ext Dotan Barak wrote: >> >> 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. Except when it is just happen to have the same name. IOW, it is a BIG oversimplification. -- 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