This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
Hi just type set GIT_PYTHON_REFRESH=quiet in your Windows command line
to solve this problem.
set GIT_PYTHON_REFRESH=quiet
控制台直接输入:set GIT_PYTHON_REFRESH=quiet
https://github.com/gitpython-developers/GitPython/issues/816