diff --git a/clearml_agent/backend_api/config/default/agent.conf b/clearml_agent/backend_api/config/default/agent.conf index 58bde4b..2cd1f18 100644 --- a/clearml_agent/backend_api/config/default/agent.conf +++ b/clearml_agent/backend_api/config/default/agent.conf @@ -45,8 +45,8 @@ # it solves passing user/token to git submodules. # this is a safer way to ensure multiple users using the same repository will # not accidentally leak credentials - # Only supported on Linux systems, it will be the default in future releases - # enable_git_ask_pass: false + # Note: this is only supported on Linux systems + # enable_git_ask_pass: true # in docker mode, if container's entrypoint automatically activated a virtual environment # use the activated virtual environment and install everything there diff --git a/clearml_agent/helper/repo.py b/clearml_agent/helper/repo.py index 67d7cda..c745f42 100644 --- a/clearml_agent/helper/repo.py +++ b/clearml_agent/helper/repo.py @@ -555,7 +555,7 @@ class Git(VCS): def __init__(self, *args, **kwargs): super(Git, self).__init__(*args, **kwargs) - self._use_ask_pass = False if not self.session.config.get('agent.enable_git_ask_pass', None) \ + self._use_ask_pass = False if not self.session.config.get('agent.enable_git_ask_pass', True) \ else sys.platform == "linux" try: diff --git a/docs/clearml.conf b/docs/clearml.conf index d511b30..7bb239a 100644 --- a/docs/clearml.conf +++ b/docs/clearml.conf @@ -58,8 +58,8 @@ agent { # it solves passing user/token to git submodules. # this is a safer way to ensure multiple users using the same repository will # not accidentally leak credentials - # Only supported on Linux systems, it will be the default in future releases - # enable_git_ask_pass: false + # Note: this is only supported on Linux systems + # enable_git_ask_pass: true # in docker mode, if container's entrypoint automatically activated a virtual environment # use the activated virtual environment and install everything there