Find the clone url of a repo from the command line.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
README.markdown
Rakefile
ghs.gemspec

README.markdown

Github Repo Search

Quickly find clone urls for github repositories.

Install

gem install ghs

Usage

Get a repo's clone url:

ghs [repo name]

If you have github.user in your global git config file, ghs will try to find one of your repos first.

If there are multiple matches, ghs will stop by default. To choose the best match, use the --best flag:

ghs -b [reponame]
ghs --best [reponame]