mirror of
https://github.com/danog/gift.git
synced 2024-11-26 20:04:47 +01:00
Update readme
This commit is contained in:
parent
eaf7a6f2ee
commit
17a234f429
@ -193,9 +193,16 @@ Commit some changes.
|
|||||||
### `Repo#remove(files, callback)`
|
### `Repo#remove(files, callback)`
|
||||||
`git rm <files>`
|
`git rm <files>`
|
||||||
|
|
||||||
### `Repo#checkout(treeish, callback)`
|
### `Repo#checkout(treeish, [options], callback)`
|
||||||
`git checkout <treeish>`
|
`git checkout <treeish>`
|
||||||
|
|
||||||
|
Checkout a branch/commit/...
|
||||||
|
|
||||||
|
* `treeish` - Branch or treeish to checkout.
|
||||||
|
* `options` -
|
||||||
|
- `b` - `Boolean` to create a new branch
|
||||||
|
* `callback` - Receives `(err)`.
|
||||||
|
|
||||||
### `Repo#checkoutFile([files, options, ]callback)`
|
### `Repo#checkoutFile([files, options, ]callback)`
|
||||||
Checkout some files.
|
Checkout some files.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user