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

Merge pull request #81 from deployable/patch-1

This commit is contained in:
Luke Plaster 2016-02-13 00:30:05 +08:00
commit 9ab85611f1

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.