Use git credential helper + git() now clones via https

This commit is contained in:
Henrik Lissner 2014-06-21 04:13:56 -04:00
parent 9a1837dbd7
commit a19668df20
2 changed files with 4 additions and 1 deletions

View file

@ -34,3 +34,6 @@
insteadOf = "bb:" insteadOf = "bb:"
[url "ssh://git@bitbucket.org/hlissner"] [url "ssh://git@bitbucket.org/hlissner"]
insteadOf = "bb:~" insteadOf = "bb:~"
[credential]
helper = osxkeychain

View file

@ -7,5 +7,5 @@ def git(url,dest)
end end
def github(repo,dest) def github(repo,dest)
git "git@github.com:#{repo}.git", dest git "https://github.com/#{repo}.git", dest
end end