diff --git a/git/cmd.py b/git/cmd.py index d3aa5f544..760a9ff12 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -458,7 +458,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool: The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $%s - - explicitly set via git.refresh("/full/path/to/git") + - explicitly set via git.refresh() """ ) % cls._git_exec_env_var