Skip to content

Commit 8fb2703

Browse files
authored
mention both ssh and https for cloning in readme
1 parent c42aebd commit 8fb2703

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@ docs = [
2121
),
2222
]
2323

24+
# using SSH for cloning is suggested when you're dealing with private repos, because
25+
# an ssh-agent will handle your keys for you
26+
# prefix = "[email protected]:"
27+
prefix = "https://github.com/"
28+
2429
for ((remote, branch), docref) in docs
25-
run(`git clone --depth 1 [email protected]:$remote --branch $branch --single-branch $(docref.upstream)`)
30+
run(`git clone --depth 1 $prefix$remote --branch $branch --single-branch $(docref.upstream)`)
2631
end
2732

2833
outpath = joinpath(@__DIR__, "out")

0 commit comments

Comments
 (0)