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

Update readme

This commit is contained in:
Louis De Bevere 2016-03-09 12:12:29 +01:00
parent eaf7a6f2ee
commit 17a234f429

View File

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