Example repo URL - see Github issue 516
| ... | ... |
@@ -299,7 +299,9 @@ task :setup_github_pages, :repo do |t, args| |
| 299 | 299 |
if args.repo |
| 300 | 300 |
repo_url = args.repo |
| 301 | 301 |
else |
| 302 |
- repo_url = get_stdin("Enter the read/write url for your repository: ")
|
|
| 302 |
+ puts "Enter the read/write url for your repository" |
|
| 303 |
+ puts "(For example, 'git@github.com:your_username/your_username.github.com)" |
|
| 304 |
+ repo_url = get_stdin("Repository url: ")
|
|
| 303 | 305 |
end |
| 304 | 306 |
user = repo_url.match(/:([^\/]+)/)[1] |
| 305 | 307 |
branch = (repo_url.match(/\/[\w-]+.github.com/).nil?) ? 'gh-pages' : 'master' |