diff options
author | Nathan Long <nathanmlong@gmail.com> | 2012-07-12 05:39:30 -0400 |
---|---|---|
committer | Nathan Long <nathanmlong@gmail.com> | 2012-07-12 05:39:30 -0400 |
commit | bcbc95b142b807175d0b18611eb0743564819a7d (patch) | |
tree | 532cc4744d2fc8b311cddff4da8f6f2824317ddc | |
parent | f5b6df5a576da5524b29f9f1956c7d7befbc4825 (diff) | |
download | my_new_personal_website-bcbc95b142b807175d0b18611eb0743564819a7d.tar.xz my_new_personal_website-bcbc95b142b807175d0b18611eb0743564819a7d.zip |
Example repo URL - see Github issue 516
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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' |