reset


Description:

public void reset (Object target, ResetType reset_type, CheckoutOptions checkout_options) throws Error

Performs a reset of type reset_type on this to target, or throws will be set.

Parameters:

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.