Performs a reset of type reset_type on this to target, or
throws will be set.
| this |
a Repository. |
| target |
the target Object which is a commit or a tag. |
| reset_type |
the ResetType to perform. |
| checkout_options |
the CheckoutOptions to be used for a HARD reset. |