diff options
Diffstat (limited to '_examples/clone')
-rw-r--r-- | _examples/clone/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 27d043b..4a5efa2 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -28,7 +28,7 @@ func main() { ref, err := r.Head() CheckIfError(err) // ... retrieving the commit object - commit, err := r.Commit(ref.Hash()) + commit, err := r.CommitObject(ref.Hash()) CheckIfError(err) fmt.Println(commit) |