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:
commit
9ab85611f1
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user