aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2012-08-03 16:03:41 -0500
committerBrandon Mathis <brandon@imathis.com>2012-08-03 16:03:41 -0500
commita96c0c6257fdbbbf6a11a9c93e523888fc897e00 (patch)
treefdef2f25d323f12e384ff31e83586eb36860361b
parent0d222ba6b29b5a1a0a061cd7d00f373e2c655995 (diff)
parent98afc616d79f108e706b33fc28f835bb24fce685 (diff)
downloadmy_new_personal_website-a96c0c6257fdbbbf6a11a9c93e523888fc897e00.tar.xz
my_new_personal_website-a96c0c6257fdbbbf6a11a9c93e523888fc897e00.zip
Merge branch 'master' of github.com:imathis/octopress
Diffstat (limited to '')
-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'