diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-08-02 08:12:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 08:12:44 +0200 |
commit | 9befb514d83e22268d00ab2c0fdd797b3742f0e9 (patch) | |
tree | 923a78009cce4531912b92e1b756a6a8f3ee6d32 /_examples/remotes/main.go | |
parent | 91cdedae7faffca0a707fa47780efafe157ba47c (diff) | |
parent | e5c6fa237776870483cbe227d7f7ea943f35cb12 (diff) | |
download | go-git-9befb514d83e22268d00ab2c0fdd797b3742f0e9.tar.gz |
Merge pull request #501 from smola/config-multiple-urls
config: multiple values in RemoteConfig (URLs and Fetch)
Diffstat (limited to '_examples/remotes/main.go')
-rw-r--r-- | _examples/remotes/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/remotes/main.go b/_examples/remotes/main.go index 90817dc..7cae8bb 100644 --- a/_examples/remotes/main.go +++ b/_examples/remotes/main.go @@ -27,7 +27,7 @@ func main() { Info("git remote add example https://github.com/git-fixtures/basic.git") _, err = r.CreateRemote(&config.RemoteConfig{ Name: "example", - URL: "https://github.com/git-fixtures/basic.git", + URLs: []string{"https://github.com/git-fixtures/basic.git"}, }) CheckIfError(err) |