Ghrepo
If you don't want to have to enter your GitHub username and password (or API token) everytime you create a GitHub repo with this gem, set the following environment variables on your system.
GHREPO_KEY=PERSONAL_GITHUB_API_TOKEN
GHREPO_USERNAME=YOUR_GITHUB_USERNAME
Also, if you want to default to using SSH, set the following environment variable
GHREPO_SSH=true
You can create a personal GitHub API token here:
Installation
$ gem install ghrepo
Usage
Create an empty repo on GitHub and clone that directory into the directory that you are currently in
$ ghrepo soverywow
Create an empty repo on GitHub and clone that directory using the SSH address
$ ghrepo -ssh soverywow
Create an empty repo on GitHub, build a boilerplate Rails app and push it to the GitHub repository that was just created
$ ghrepo -rails soverywow
Create an empty repo on GitHub, build a boilerplate Rails app and push it to the GitHub repository that was just created using SSH
$ ghrepo -rails -ssh soverywow
Create an empty repo on GitHub, build a boilerplate HTML5 index.html file and push it to the GitHub repository that was just created
$ ghrepo -html soverywow
Create an empty repo on GitHub, build a boilerplate HTML5 index.html and push it to the GitHub repository that was just created using SSH
$ ghrepo -html -ssh soverywow
Add collaborators
$ ghrepo -c COLLABORATOR_USERNAME soverywow
Contributing
- Fork it
- 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 new Pull Request