git-hub
git-hub copied to clipboard
Add ability to create new repositories
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.
I'm using cligh for creating GitHub repos, but I'd obviously prefer one tool to rule them all. :-)
I wonder if this should be implemented as an option to clone
or as a new command...
I think new command git hub init
(analogous to git init
) would make sense.
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.
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.
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
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.
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.
I don't mind the API part of it, but the strange nested object command parsing discouraged my attempt at implementation.