octonode icon indicating copy to clipboard operation
octonode copied to clipboard

Example how to create repo under an organisation

Open billbuilder opened this issue 8 years ago • 2 comments

Dear All,

Is there a way to create a repository to an organisation where the user is admin?

Thank you in advance!

billbuilder avatar Jul 05 '16 14:07 billbuilder

github.client( token ).org( orgName ).repo()

does not work. It gives back

{ [Error: Not Found]
  message: 'Not Found',
  statusCode: 404,
  headers: 
   { server: 'GitHub ....

billbuilder avatar Jul 05 '16 14:07 billbuilder

Can you check the createRepo option?

pksunkara avatar Jul 11 '16 16:07 pksunkara