We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07c03d9 + 891fcfb commit cd64b4dCopy full SHA for cd64b4d
options.go
@@ -231,8 +231,9 @@ var (
231
232
// CheckoutOptions describes how a checkout 31operation should be performed.
233
type CheckoutOptions struct {
234
- // Hash to be checked out, if used HEAD will in detached mode. Branch and
235
- // Hash are mutually exclusive, if Create is not used.
+ // Hash is the hash of the commit to be checked out. If used, HEAD will be
+ // in detached mode. If Create is not used, Branch and Hash are mutually
236
+ // exclusive.
237
Hash plumbing.Hash
238
// Branch to be checked out, if Branch and Hash are empty is set to `master`.
239
Branch plumbing.ReferenceName
0 commit comments