File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,17 @@ import (
1515type CloneProtocol string
1616
1717const (
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
1820 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"
2129)
2230
2331// HandleRepository determines whether a directory with the repository name does exist.
You can’t perform that action at this time.
0 commit comments