'Git API call on Github account on government Organization
Trying to creae a remote repo regular github account with below command
$ curl -u 'USER':'TOKEN' https://api.github.com/user/repos -d '{"name":"REPO"}'
this works fine.
If my github account is in government org. say https://github.xyz.gov then
$ curl -u 'USER':'TOKEN' https://api.github.xyz.gov/user/repos -d '{"name":"REPO"}'
gives below error,
Could not resolve host: api.github.xyz.gov
Trying to create at user level, I also need to create repo on Organization level apart from user level later. What is issue here.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
