You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's sth like this issue, while I think maybe different: #107
text version:
D:\hick\python>python git-.py
Traceback (most recent call last):
File "git-.py", line 6, in
repo = git.Repo(r'D:\hick')
NameError: name 'git' is not defined
how can I debug something?
it's sth like this issue, while I think maybe different: #107
text version:
D:\hick\python>python git-.py
Traceback (most recent call last):
File "git-.py", line 6, in
repo = git.Repo(r'D:\hick')
NameError: name 'git' is not defined
D:\hick\python>pip show GitPython
Name: GitPython
Version: 2.1.11
Summary: Python Git Library
Home-page: https://github.com/gitpython-developers/GitPython
Author: Sebastian Thiel, Michael Trier
Author-email: [email protected], [email protected]
License: BSD License
Location: d:\program\python35\lib\site-packages
Requires: gitdb2
D:\hick\python>cat git-.py
'''
操作 git 的演练
'''
from git import Repo
repo = git.Repo(r'D:\hick')
print(repo.bare)
D:\hick\python>python -V
Python 3.5.4
The text was updated successfully, but these errors were encountered: