We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent66bb013 commitcf237dbCopy full SHA for cf237db
git/repo/base.py
@@ -1012,6 +1012,11 @@ def clone_from(cls, url, to_path, progress=None, env=None, multi_options=None, *
1012
:param to_path: Path to which the repository should be cloned to
1013
:param progress: See 'git.remote.Remote.push'.
1014
:param env: Optional dictionary containing the desired environment variables.
1015
+ Note: Provided variables will be used to update the execution
1016
+ environment for `git`. If some variable is not specified in `env`
1017
+ and is defined in `os.environ`, value from `os.environ` will be used.
1018
+ If you want to unset some variable, consider providing empty string
1019
+ as its value.
1020
:param multi_options: See ``clone`` method
1021
:param kwargs: see the ``clone`` method
1022
:return: Repo instance pointing to the cloned directory"""