Skip to content

Commit

Permalink
Fix the pointer to example configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aereal committed Aug 18, 2020
1 parent efa8770 commit 8654d4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.adoc
Expand Up @@ -76,14 +76,16 @@ ghq.<url>.vcs::
Accepted values are "git", "github" (an alias for "git"), "subversion",
"svn" (an alias for "subversion"), "git-svn", "mercurial", "hg" (an alias for "mercurial"),
"darcs", "fossil", "bazaar", and "bzr" (an alias for "bazaar"). +
To get this configuration variable effective, you will need Git 1.8.5 or higher. +
For example in .gitconfig:
To get this configuration variable effective, you will need Git 1.8.5 or higher.

ghq.<url>.root::
The "ghq" tries to detect the remote repository-specific root directory. With this option,
you can specify a repository-specific root directory instead of the common ghq root directory. +
The URL is matched against '<url>' using 'git config --get-urlmatch'.


=== Example configuration (.gitconfig):

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

0 comments on commit 8654d4f

Please sign in to comment.