Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I built this. If there are bugs makes issues; I will fix them. I welcome suggestions and feature requests.


Very cool, does it support organizations? Eg, can octogit create a repo in one of my organizations, instead of my main account?

Perhaps:

octogit create git@github.com:org-name/new-repo-name.git 'new repo desc'


That is definitely a feature I can put into the mix. if you create an issue on github; I will definitely get on it. :D


I have completed the feature it will be in the next release.


Excellent! I went to submit it as an issue, but several people had beat me to it. Guess it's popular. Thanks!


Would you mind using getpass if the "octogit login" command is only given one argument? It'd be cool to be able to use it with other people in the room and without leaving it in the shell history. It would also be nice to know where my password is being stored and to have a logout command that securely erases it.

http://docs.python.org/library/getpass.html


if you raise the issue; I will look into incorporating it in a new release.


Not a bug, just a question. 'octogit login' says "You need both a password and username to login". Where do I provide them?


octogit login <username> <password>

I am updating the site now.


Is it possible to use an oauth-based thing instead? I don't know if github lets you do much with oauth, I'm just a little wary of storing my password in what would presumably be plaintext.


As soon as they implement a CLI based OAuth, I will definitely add it.

I understand your concerns, but if someone has access to your machine your Github password is the least of your worries.


Why would you need that?

You can just request a token[1] using the GitHub API on first load and then use that. I implemented that recently in Pulley[2], which is a GitHub Pull Request Lander.

[1]: http://developer.github.com/v3/oauth/#create-a-new-authoriza...

[2]: https://github.com/jeresig/pulley


Hmm, GitHub has SSL certificate authentication. Could that be used for login?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: