Use git credential helper + git() now clones via https
This commit is contained in:
parent
9a1837dbd7
commit
a19668df20
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue