Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
motemen committed Jun 26, 2014
1 parent f38d1e4 commit 793a5ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ghq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ ghq.<url>.vcs::
ghq tries to detect the remote repository's VCS backend for non-"github.com"
repositories. With this option you can explicitly specify the VCS for the
remote repository. The URL is matched against '<url>' using 'git config --get-urlmatch'. +
Accepted values are "git", "github", "hg", "mercurial". +
Accepted values are "git", "github" (an alias for "git"), "mercurial", "hg"
(an alias for "mercurial"). +
To get this configuration variable effective, you will need Git 1.8.5 or higher. +
For example in .gitconfig: +

....
[ghq "https://ghe.example.com/repos/"]
[ghq "https://git.example.com/repos/"]
vcs = git
....

Expand Down

0 comments on commit 793a5ab

Please sign in to comment.