Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Find the clone url of a repo from the command line.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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]
Something went wrong with that request. Please try again.