Reposit
Quickly create GitHub repos from the command line.
Installation
$ gem install reposit
Requirements
Requires gawk
. Install with homebrew: $ brew install gawk
Usage
Reposit creates a new repository on GitHub and copies the SSH url to your clipboard.
- Generate a new personal API key by visiting https://github.com/settings/applications and choosing 'Generate New Token'.
- From your command line, run:
$ reposit <repository_name>
- On first run, you will be asked to enter your GitHub username and newly generated API key.
Optional Usage
$ reposit <repository_name> -o <organization_name>
Troubleshooting
If repositories aren't being created and/or the SSH url isn't being copied to your clipboard, it probably means your credentials are incorrect. Reset them by running:
$ reposit --setup
Contributing
- Fork it ( https://github.com/[my-github-username]/reposit/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
TODO
- Add ability to specify public or private repos
Built in NYC by @loganhasson