aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
diff options
context:
space:
mode:
Diffstat (limited to '_examples')
-rw-r--r--_examples/remotes/main.go6
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",
})