MCPcopy Create free account
hub / github.com/libgit2/pygit2 / ResetMode

Class ResetMode

pygit2/enums.py:1155–1165  ·  view source on GitHub ↗

Kinds of reset operation.

Source from the content-addressed store, hash-verified

1153
1154
1155class ResetMode(IntEnum):
1156 """Kinds of reset operation."""
1157
1158 SOFT = _pygit2.GIT_RESET_SOFT
1159 'Move the head to the given commit'
1160
1161 MIXED = _pygit2.GIT_RESET_MIXED
1162 'SOFT plus reset index to the commit'
1163
1164 HARD = _pygit2.GIT_RESET_HARD
1165 'MIXED plus changes in working tree discarded'
1166
1167
1168class RevSpecFlag(IntFlag):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…