Documentation ¶
Overview ¶
Generates options.go, which implements git options.
To modify options.go, modify the Options declared in this file and run `go generate`.
Each command that can take options (e.g. "clone") has a generated interface, so only options valid for that command can be passed.
Each option (e.g. "depth") has a generated function that returns the option, which can be passed to a command: `git.Clone(..., git.Depth(10))`
Click to show internal directories.
Click to hide internal directories.