hub
https://github.com/mislav/hub
Go
A command-line tool that makes git easier to use with GitHub.
ProjectsHelper#any_projects?
Returns true if any projects are present. If the relation has a LIMIT applied we'll cast the relation to an Array since repeated any? checks would otherwise result in multiple COUNT queries being executed. If no limit is applied we'll just issue a COUNT since the result set could be too large to load into memory.
Edit
git clone [email protected]:mislav/hub.git
cd hub
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ProjectsHelper-any_projects--for-pr
# Commit to gitgit add git commit -m "better docs for ProjectsHelper#any_projects?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ProjectsHelper-any_projects--for-pr
hub pull-request
# Celebrate!