From d59ebfd6e856dd5e7185a718776ec1219bb5ae42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Fri, 5 Jun 2020 13:00:40 +0200 Subject: [PATCH] repo clone: clarify defaulting to current username --- command/repo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/repo.go b/command/repo.go index 363aaa054..f459c2310 100644 --- a/command/repo.go +++ b/command/repo.go @@ -56,7 +56,8 @@ var repoCloneCmd = &cobra.Command{ Short: "Clone a repository locally", Long: `Clone a GitHub repository locally. -Without username, e.g. "gh repo clone REPO", clones a presonal repository. +If the "OWNER/" portion of the "OWNER/REPO" repository argument is omitted, it +defaults to the name of the authenticating user. To pass 'git clone' flags, separate them with '--'.`, RunE: repoClone,