From bcbc95b142b807175d0b18611eb0743564819a7d Mon Sep 17 00:00:00 2001 From: Nathan Long Date: Thu, 12 Jul 2012 05:39:30 -0400 Subject: [PATCH] Example repo URL - see Github issue 516 --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index d4dcb54..1b5ece6 100644 --- a/Rakefile +++ b/Rakefile @@ -299,7 +299,9 @@ task :setup_github_pages, :repo do |t, args| if args.repo repo_url = args.repo else - repo_url = get_stdin("Enter the read/write url for your repository: ") + puts "Enter the read/write url for your repository" + puts "(For example, 'git@github.com:your_username/your_username.github.com)" + repo_url = get_stdin("Repository url: ") end user = repo_url.match(/:([^\/]+)/)[1] branch = (repo_url.match(/\/[\w-]+.github.com/).nil?) ? 'gh-pages' : 'master'