Run a git command. Use this for commands that make critical changes to the filesystem.
If it fails, throw an error and set process.exitCode = 1 (unless options.noExitCode is set).
The caller is responsible for validating the input.
shell will always be set to false.
Run a git command. Use this for commands that make critical changes to the filesystem. If it fails, throw an error and set
process.exitCode = 1(unlessoptions.noExitCodeis set).The caller is responsible for validating the input.
shellwill always be set to false.