Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clone GitHub to Local
#1
How do I clone entire Repository of GitHub in my local machine in python way ?
Reply
#2
I Googled "git clone with python" and the first result looks promising.
Reply
#3
FYI:
Don't know if it still applies, but this is in the docs:
Quote:*** Warning ***

Leakage of System Resources

GitPython is not suited for long-running processes (like daemons) as it tends to leak system resources. It was written in a time where destructors (as implemented in the __del__ method) still ran deterministically.

In case you still want to use it in such a context, you will want to search the codebase for __del__ implementations and call these yourself when you see fit.

Another way assure proper cleanup of resources is to factor out GitPython into a separate process which can be dropped periodically.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Clone with pywebcopy with proxy MeMyselfAndI 1 2,402 Oct-29-2020, 08:21 PM
Last Post: Larz60+
  Clone a project saisankalpj 1 2,970 Jul-29-2018, 05:20 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020