Checkout HEAD For arguments, see Repository.checkout().
(self, **kwargs)
| 409 | # |
| 410 | |
| 411 | def checkout_head(self, **kwargs): |
| 412 | """Checkout HEAD |
| 413 | |
| 414 | For arguments, see Repository.checkout(). |
| 415 | """ |
| 416 | with git_checkout_options(**kwargs) as payload: |
| 417 | err = C.git_checkout_head(self._repo, payload.checkout_options) |
| 418 | payload.check_error(err) |
| 419 | |
| 420 | def checkout_index(self, index=None, **kwargs): |
| 421 | """Checkout the given index or the repository's index |
no test coverage detected