Reputation: 12628
I have a repository that I cloned from someplace a few months back and I'd really like to know where it came from. A 'git pull' returns successfully and tells me everything is up to date, but I'd really like to know where its checking.
I've looked in the usual suspects in the .git folder, but can't see anything obvious. Anyone know where this upstream information is kept?
Upvotes: 9
Views: 5002
Reputation: 992995
Try git remote
:
git remote -v
This information is actually stored in the .git/config
file.
Upvotes: 19