From b221561f452cffd41feb509463a39d46623560b4 Mon Sep 17 00:00:00 2001 From: Kazuya Umeki <108924738+umekikazuya@users.noreply.github.com> Date: Sun, 16 Aug 2026 03:00:38 +0900 Subject: [PATCH] docs: mention clone.defaultRemoteName --- README.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.adoc b/README.adoc index c96ae1a..c825ebe 100644 --- a/README.adoc +++ b/README.adoc @@ -117,6 +117,10 @@ ghq..root:: you can specify a repository-specific root directory instead of the common ghq root directory. + The URL is matched against '' using 'git config --get-urlmatch'. +Since `ghq get` runs `git clone` for Git repositories, git's own configuration applies as +well. For example, `clone.defaultRemoteName` changes the name of the created remote, which +is `origin` by default. + +To get this configuration variable effective, you will need Git 2.30 or higher. === Example configuration (.gitconfig):