enum

Git2::GitResetT

Inherits Enum < Comparable < Value < Object

Constants

GIT_RESET_SOFT = 1
GIT_RESET_MIXED = 2
GIT_RESET_HARD = 3

Instance methods

git_reset_hard?

Returns true if this enum value equals GIT_RESET_HARD

Source
git_reset_mixed?

Returns true if this enum value equals GIT_RESET_MIXED

Source
git_reset_soft?

Returns true if this enum value equals GIT_RESET_SOFT

Source