mirror of
https://github.com/danog/gift.git
synced 2024-11-30 04:19:37 +01:00
Update readme
This commit is contained in:
parent
eaf7a6f2ee
commit
17a234f429
@ -193,9 +193,16 @@ Commit some changes.
|
||||
### `Repo#remove(files, callback)`
|
||||
`git rm <files>`
|
||||
|
||||
### `Repo#checkout(treeish, callback)`
|
||||
### `Repo#checkout(treeish, [options], callback)`
|
||||
`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)`
|
||||
Checkout some files.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user