diff options
author | Alex <alex.q.fredrickson@gmail.com> | 2019-02-16 09:41:07 -0500 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2019-03-15 12:45:17 +0100 |
commit | 11f0634803d43e6b9f248acd45f665bc1d3d2345 (patch) | |
tree | facfff90cff6bd80dd54110687cacf15f858d67b /git | |
parent | dff4bdd4be62a00d3090647b5a92b51cea730a84 (diff) | |
download | gitpython-11f0634803d43e6b9f248acd45f665bc1d3d2345.tar.gz |
Added usage example to Repo __init__.py call for Windows users
Diffstat (limited to 'git')
-rw-r--r-- | git/repo/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index 304faa76..58f11e51 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -97,6 +97,7 @@ class Repo(object): repo = Repo("/Users/mtrier/Development/git-python.git") repo = Repo("~/Development/git-python.git") repo = Repo("$REPOSITORIES/Development/git-python.git") + repo = Repo("C:\\Users\\mtrier\\Development\\git-python\\.git") - In *Cygwin*, path may be a `'cygdrive/...'` prefixed path. - If it evaluates to false, :envvar:`GIT_DIR` is used, and if this also evals to false, |