Kinds of reset operation
Sets the current head to the specified commit oid and optionally resets the index and working tree to match.
Updates some entries in the index from the target commit tree.
Sets the current head to the specified commit oid and optionally resets the index and working tree to match.