From 460a7278e6fff2d58300e1855ef8429fec374fa0 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 24 Jul 2017 13:34:40 +0200 Subject: move Repository.Pull to Worktree.Pull --- _examples/remotes/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_examples') 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", }) -- cgit