1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

Add Repo#pull to README

`pull` was missing from the API docs in the readme.
This commit is contained in:
Matt Hoyle 2016-02-12 15:04:57 +00:00
parent f971f0702d
commit 28567a2a7d

View File

@ -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.