tags:

views:

52

answers:

2

Is it possible to create a new Git Repo at GitHub through restful API and not manually through their site?

+1  A: 

Yes, see the Repositories API page. You do a post to repos/create with at least a name parameter.

Matthew Flaschen
But I don't get that part. Don't I have to specify my user account information first?
never_had_a_name
@ajsie: You obviously need to authenticate first.
Jörg W Mittag
+1  A: 

Check out the Github gem for example uses of the Github API; here's the implementation of the create command.

wuputah