How do I determine the parent repository of a git repository?
Question
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?
Solution
Also, git remote -v
will show the urls of all your remotes.
OTHER TIPS
Use git remote
:
git remote show
This will list all the remotes. Then, for example:
git remote show origin
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow