Quantcast
Channel: How to create a github.com repository over HTTP API? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by hspandher for How to create a github.com repository over HTTP API?

You can do it as follows:-curl -u "$username:$token" https://api.github.com/user/repos -d '{"name":"'$repo_name'"}'You can find personal access token in Github Settings -> Application, replace...

View Article



How to create a github.com repository over HTTP API?

According to the general instruction to the github.com API and the explanation of the create commandcurl -u "krichter722" https://api.github.com # works (returns JSON response)curl -d '{"name":"test"}'...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images