aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2012-07-30 10:58:35 -0700
committerBrandon Mathis <brandon@imathis.com>2012-07-30 10:58:35 -0700
commit98afc616d79f108e706b33fc28f835bb24fce685 (patch)
tree532cc4744d2fc8b311cddff4da8f6f2824317ddc /Rakefile
parentf5b6df5a576da5524b29f9f1956c7d7befbc4825 (diff)
parentbcbc95b142b807175d0b18611eb0743564819a7d (diff)
downloadmy_new_personal_website-98afc616d79f108e706b33fc28f835bb24fce685.tar.xz
my_new_personal_website-98afc616d79f108e706b33fc28f835bb24fce685.zip
Merge pull request #666 from nathanl/example_repo_url
Example repo URL - see Github issue 516
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index d4dcb549..1b5ece6d 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'