diff options
Diffstat (limited to '_examples/remotes/main.go')
-rw-r--r-- | _examples/remotes/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_examples/remotes/main.go b/_examples/remotes/main.go index 31c5cc5..90817dc 100644 --- a/_examples/remotes/main.go +++ b/_examples/remotes/main.go @@ -42,9 +42,9 @@ func main() { fmt.Println(r) } - // Pull using the create repository - Info("git pull example") - err = r.Pull(&git.PullOptions{ + // Fetch using the new remote + Info("git fetch example") + err = r.Fetch(&git.FetchOptions{ RemoteName: "example", }) |