diff --git a/README.md b/README.md index f575b54..849e37d 100644 --- a/README.md +++ b/README.md @@ -193,9 +193,16 @@ Commit some changes. ### `Repo#remove(files, callback)` `git rm ` -### `Repo#checkout(treeish, callback)` +### `Repo#checkout(treeish, [options], callback)` `git checkout ` +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.