From 28567a2a7d8f80aac80ce5b70efa5d8f2e1dc94c Mon Sep 17 00:00:00 2001 From: Matt Hoyle Date: Fri, 12 Feb 2016 15:04:57 +0000 Subject: [PATCH] Add Repo#pull to README `pull` was missing from the API docs in the readme. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 14fb13f..f575b54 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,13 @@ Checkout some files. - `force` - `Boolean` * `callback` - Receives `(err)`. +### `Repo#pull([[remote, ]branch, ]callback)` +Pull a branch from remote. + + * `remote` - `String` (defaults to `origin`). + * `branch` - `String` (defaults to `master`). + * `callback` - Receives `(err)`. + ### `Repo#sync([[remote, ]branch, ]callback)` Sync the current branch with the remote, keeping all local changes intact.