Bootstrap FreeKB - Python (Scripting) - Clone a Git repo using GitPython
Python (Scripting) - Clone a Git repo using GitPython

Updated:   |  Python (Scripting) articles

GitPython can be used to clone a Git repo. However, I would not use GitPython because https://github.com/gitpython-developers/GitPython says:

This project is in maintenance mode, which means that

  • …there will be no feature development, unless these are contributed
  • …there will be no bug fixes, unless they are relevant to the safety of users, or contributed
  • …issues will be responded to with waiting times of up to a month

 

For this reason, I would instead use subprocess to clone a Git repo. Check out my article FreeKB - Python (Scripting) - Native operating system commands.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 162e7d in the box below so that we can be sure you are a human.