I want to download multiple repositories from GitHub using Python libraries. I found gitpython, but I don't know how to write a program which continuously forks repositories. Any suggestions how can I do it.
Asked
Active
Viewed 63 times
1 Answers
0
You don't need to fork ("fork a repo") in order to clone or pull from a repo you want to monitor.
You need either a webhook (if you have access to the repo) in order to be alerted of any new commit.
Or you need a CI tool (for instance, Jenkins) to regularely to a pull, and trigger a job if any new commit has changed.

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
I have to download around 100 projects related to Python. And I have to then check the commits and create patch files. – Mia Apr 10 '18 at 19:20
-
@Mia OK, but you still don't have to "fork" those project, do you? – VonC Apr 10 '18 at 19:47
-
Like I have an algorithm in mind if I will be able to fork those repositories, I can extract the commits url. – Mia Apr 10 '18 at 21:17
-
By fork, do you mean clone? – VonC Apr 10 '18 at 21:19
-
Ok, I will check tomorrow, but my point was: a fork is not a clone. – VonC Apr 10 '18 at 21:52