File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,17 @@ import (
15
15
type CloneProtocol string
16
16
17
17
const (
18
+ // SystemProtocol indicates whether to use the Git protocol configured in the GitHub CLI,
19
+ // e.g., via the 'gh config set git_protocol' configuration command
18
20
SystemProtocol CloneProtocol = "system"
19
- SSHProtocol CloneProtocol = "ssh"
20
- HTTPSProtocol CloneProtocol = "https"
21
+
22
+ // SSHProtocol forces this extension to clone repositories via SSH.
23
+ // As such, the Git remote will look like: [email protected] :org/repo.git
24
+ SSHProtocol CloneProtocol = "ssh"
25
+
26
+ // HTTPSProtocol forces this extension to clone repositories via HTTPS.
27
+ // As such, the Git remote will look like: https://github.com/org/repo.git
28
+ HTTPSProtocol CloneProtocol = "https"
21
29
)
22
30
23
31
// HandleRepository determines whether a directory with the repository name does exist.
You can’t perform that action at this time.
0 commit comments