git_reset_t

Kinds of reset operation

Values

ValueMeaning
GIT_RESET_SOFT1

Move the head to the given commit

GIT_RESET_MIXED2

SOFT plus reset index to the commit

GIT_RESET_HARD3

MIXED plus changes in working tree discarded

Meta