Skip to content

Commit 11f0634

Browse files
alexqfredricksonByron
authored andcommitted
Added usage example to Repo __init__.py call for Windows users
1 parent dff4bdd commit 11f0634

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git/repo/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def __init__(self, path=None, odbt=GitCmdObjectDB, search_parent_directories=Fal
9797
repo = Repo("/Users/mtrier/Development/git-python.git")
9898
repo = Repo("~/Development/git-python.git")
9999
repo = Repo("$REPOSITORIES/Development/git-python.git")
100+
repo = Repo("C:\\Users\\mtrier\\Development\\git-python\\.git")
100101
101102
- In *Cygwin*, path may be a `'cygdrive/...'` prefixed path.
102103
- If it evaluates to false, :envvar:`GIT_DIR` is used, and if this also evals to false,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy