tags:

views:

127

answers:

2

When I do a git pull my repository automatically pulls from the original git repo that I cloned from. How can I get the URL of that git repository from the child repository?

+5  A: 

Use git remote:

git remote show

This will list all the remotes. Then, for example:

git remote show origin
Greg Hewgill
+2  A: 

Also, git remote -v will show the urls of all your remotes.

Neall