libgit2

git_reset_t

Version:

Kinds of reset operation

Values

GIT_RESET_SOFT
1
GIT_RESET_MIXED
2

Move the head to the given commit

GIT_RESET_HARD
3

SOFT plus reset index to the commit

Parameter To

Versions