MCPcopy Create free account
hub / github.com/driusan/dgit / ResetMode

Function ResetMode

git/reset.go:97–135  ·  view source on GitHub ↗

ResetMode implements "git reset [--soft | --mixed | --hard | --merge | --keep]"

(c *Client, opts ResetOptions, cmt Commitish)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ResetFunction · 0.85

Calls 4

CheckoutIndexUncommitedFunction · 0.85
UpdateRefFunction · 0.70
ReadTreeFunction · 0.70
CommitIDMethod · 0.65

Tested by

no test coverage detected