Brewer
Brewer

Reputation: 397

Find out where a GitHub repo was forked from

enter image description here

In this picture, you are told where the repo was forked from. I've been looking through the github2 api and I can't seem to find a way to get this information. Any ideas?

Upvotes: 7

Views: 761

Answers (1)

user462356
user462356

Reputation:

Take a look at the parent/source field from the show repo command. http://develop.github.com/p/repo.html

I think that does what you want.

Upvotes: 8

Related Questions