Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to create new repositories #164

Open
nicolas17 opened this issue Nov 20, 2015 · 9 comments
Open

Add ability to create new repositories #164

nicolas17 opened this issue Nov 20, 2015 · 9 comments

Comments

@nicolas17
Copy link

It would be handy if I could create a new empty repository in my account (and clone it) using git-hub. That's one of the few actions where using the website is required.

@jwilk
Copy link
Contributor

jwilk commented Nov 20, 2015

I'm using cligh for creating GitHub repos, but I'd obviously prefer one tool to rule them all. :-)

@leandro-lucarella-sociomantic
Copy link
Contributor

I wonder if this should be implemented as an option to clone or as a new command...

@jwilk
Copy link
Contributor

jwilk commented Nov 20, 2015

I think new command git hub init (analogous to git init) would make sense.

@leandro-lucarella-sociomantic
Copy link
Contributor

Mmm, I'm not convinced it's a good analogy, unless this command performs the git init too, but still...

What's your typical use case for this? Because I really never felt the need for this, so maybe I'm not really understanding the issue.

@somini
Copy link

somini commented Nov 22, 2016

I just started using git-hub and this is really the only action that still requires the website.
My use case at least is just pushing an existing local repository to Github.

@githubkusi
Copy link

I often create local git repos for smaller projects but then forget to create a new repo on our on premise github, set the remote and push to it. I would like to call git hub init (maybe with a parameter) which creates my local AND remote repo at the same time

@pjz
Copy link
Contributor

pjz commented May 25, 2019

I was thinking there should be a git hub repo sub-group with subcommands create and list at the least, and maybe also info and setinfo to allow configuring the repo to the extent the API allows.

@leandro-lucarella-sociomantic
Copy link
Contributor

I think this might go a bit beyond this tool's purpose. The official already can do this: https://hub.github.com/hub-create.1.html. But if someone is willing to implement it, I don't oppose to it either.

@pjz
Copy link
Contributor

pjz commented May 28, 2019

I don't mind the API part of it, but the strange nested object command parsing discouraged my attempt at implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants