pub fn clear_ambient_git_env(cmd: &mut Command) -> &mut Command
Strip ambient git repository-state environment variables from a Command.
Command
Returns the Command for fluent chaining alongside .args() and .current_dir().
.args()
.current_dir()