func Edit(g *types.Cmd) {
	g.AddOptions("--edit")
}
Edit Open the diff vs.
the index in an editor and let the user edit it.
After the editor was closed, adjust the hunk headers and apply the patch to the index.
The intent of this option is to pick and choose lines of the patch to apply, or even to modify the contents of lines to be staged.
This can be quicker and more flexible than using the interactive hunk selector.
However, it is easy to confuse oneself and create a patch that does not apply to the index.
See EDITING PATCHES below.
-e, --edit
package add
import "github.com/ldez/go-git-cmd-wrapper/v2/types"
func All(g *types.Cmd) {
	g.AddOptions("--all")
}
func DryRun(g *types.Cmd) {
	g.AddOptions("--dry-run")
}