checkout_head


Description:

public bool checkout_head (CheckoutOptions? options) throws Error

Update files in the working tree to reflect the contents of current HEAD.

If options is null, then the default checkout options will be used.

If the checkout was not successfull, then throws will be set.

Parameters:

this

a Repository.

options

a CheckoutOptions or null.

Returns:

true if the checkout was successfull, false otherwise.