-3
_examples/clone/auth/ssh/main.go
-3
_examples/clone/auth/ssh/main.go
···
32
32
}
33
33
34
34
r, err := git.PlainClone(directory, false, &git.CloneOptions{
35
-
// The intended use of a GitHub personal access token is in replace of your password
36
-
// because access tokens can easily be revoked.
37
-
// https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
38
35
Auth: publicKeys,
39
36
URL: url,
40
37
Progress: os.Stdout,