← 返回首页
Update tutorial · gitpython-developers/GitPython@a5e6676 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit a5e6676

Browse files
authored
Update tutorial
This mentions the instructions of what was discussed in #489.
1 parent 2ff3a3e commit a5e6676

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎doc/source/tutorial.rst‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,13 @@ Using environment variables, you can further adjust the behaviour of the git com
474474

475475
* **GIT_PYTHON_TRACE**
476476

477-
* If set to non-0, all executed git commands will be logged using a python logger.
478-
* if set to *full*, the executed git command and its output on stdout and stderr will be logged using a python logger.
477+
* If set to non-0, all executed git commands will be shown as they happen
478+
* If set to *full*, the executed git command _and_ its entire output on stdout and stderr will be shown as they happen
479+
480+
**NOTE**: All logging is outputted using a Python logger, so make sure your program is configured to show INFO-level messages. If this is not the case, try adding the following to your program::
481+
482+
import logging
483+
logging.basicConfig(level=logging.INFO)
479484
480485
* **GIT_PYTHON_GIT_EXECUTABLE**
481486

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.