Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #16 from infertux/no_ssh_url
Browse files Browse the repository at this point in the history
Use HTTPS URL instead of SSH URL
  • Loading branch information
ddollar committed Jun 13, 2015
2 parents 4223947 + 49676f3 commit 4faa60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github-backup/backup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def backup_repository(repository)

def backup_repository_initial(repository)
FileUtils::cd(backup_root) do
shell("git clone --mirror -n #{repository.ssh_url} #{repository.full_name}.git")
shell("git clone --mirror -n #{repository.clone_url} #{repository.full_name}.git")
end
end

Expand Down

0 comments on commit 4faa60f

Please sign in to comment.