From e9fe45d2f94a081ba4c2aae44e74fb4633604522 Mon Sep 17 00:00:00 2001 From: Bruno Paz Date: Sun, 14 Feb 2016 14:49:56 +0000 Subject: [PATCH 1/2] Add hub command --- pages/common/hub.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/hub.md diff --git a/pages/common/hub.md b/pages/common/hub.md new file mode 100644 index 0000000000..2f32447944 --- /dev/null +++ b/pages/common/hub.md @@ -0,0 +1,16 @@ +# hub + +> A command-line wrapper for git that makes you better at GitHub. +> The commands can also be used using "git" instead of "hub". + +- Clone a repository you own: + +`hub clone {{ repo_name }}` + +- Clone another user repository: + +`hub clone {{ github_username }}/{{ repo_name }}` + +- Open the current project's issues page: + +`hub browse -- issues` From 23a4b75bed8adfa80107acfd6730ac427728e37f Mon Sep 17 00:00:00 2001 From: Bruno Paz Date: Mon, 15 Feb 2016 22:12:54 +0000 Subject: [PATCH 2/2] Remove spaces from variable names --- pages/common/hub.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/hub.md b/pages/common/hub.md index 2f32447944..f98e8f0cb9 100644 --- a/pages/common/hub.md +++ b/pages/common/hub.md @@ -5,11 +5,11 @@ - Clone a repository you own: -`hub clone {{ repo_name }}` +`hub clone {{repo_name}}` - Clone another user repository: -`hub clone {{ github_username }}/{{ repo_name }}` +`hub clone {{github_username}}/{{repo_name}}` - Open the current project's issues page: