We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e57873b + a56d27d commit 17fee66Copy full SHA for 17fee66
bin/github-backup
@@ -387,12 +387,12 @@ def get_github_host(args):
387
388
389
def get_github_repo_url(args, repository):
390
- if args.prefer_ssh:
391
- return repository['ssh_url']
392
-
393
if repository.get('is_gist'):
394
return repository['git_pull_url']
395
+ if args.prefer_ssh:
+ return repository['ssh_url']
+
396
auth = get_auth(args, False)
397
if auth:
398
repo_url = 'https://{0}@{1}/{2}/{3}.git'.format(
0 commit comments