hub: `hub create` returns 403 but I have valid permissions.
I’m trying to create a new repo in my organization where I’m not the admin.
When I try hub create ORGNAME/REPONAME post initialization I get a message:
Error creating repository: Forbidden (HTTP 403) You need admin access to the organization before adding a repository to it.
I have confirmed that I can create repos via the browser and I have two factor authentication.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (7 by maintainers)
@mislav Apologies for delayed response, a lot’s been going on the last few months. 😃 More importantly. I think I’ve identified the issue. This is silly but when looking back at the issue I realized that when I was using the hub api, I set
private=truebut while using the hub command I didn’t use the private flag-p.Using the private flag solves this issue.