Re:An easier way to create GitHub repositories
by mef on Wednesday April 18, 2012 @06:00PM
(#3860453)
I read the headline and hoped that they had come up with a way to create new repos from the command line. That being said, this is a great improvement, especially with the templates.
[ Parent
| on HN ]
Re:An easier way to create GitHub repositories
by DannoHung on Wednesday April 18, 2012 @06:08PM
(#3860495)
Have you tried this? http://defunkt.io/hub/
# create a repo for a new project
$ git init
$ git add . && git commit -m "It begins."
$ git create -d "My new thing"
→ (creates a new project on GitHub with the name of current directory)
$ git push -u origin master
Re:An easier way to create GitHub repositories
by ismarc on Wednesday April 18, 2012 @06:23PM
(#3860555)
I actually was trying to use hub as part of our workflow (pull request from feature branches) and it requires a user token that's no longer obtainable (that I could find) as github is deprecating it in favor of oauth. So I'm now building a cheap set of scripts using curl. If something has changed since this weekend, or if there is a fork or branch I missed that doesn't require the user token (or if you can get the token somehow), I'd love to know about it as hub fits all our needs perfectly.
EDIT: just checked on the issue and it looks like it had movement recently, so i'll be trying the possibly working branch.
Re:An easier way to create GitHub repositories
by phene on Wednesday April 18, 2012 @10:32PM
(#3861142)
> it requires a user token that's no longer obtainable (that I could find) as github is deprecating it in favor of oauth.
Whoa, I had just used that feature last week. It used to be on the 'Account Settings' page near the password fields.
Re:An easier way to create GitHub repositories
by chrisguitarguy on Wednesday April 18, 2012 @06:48PM
(#3860633)
Here you go: https://github.com/chrisguitarguy/dotfiles/blob/master/util/...
Requires Python 2.7 and Requests.