Search code examples
gitgithubrepolineageos

Clone a repo(not repository, the android repo) to you own account


I have cloned the lineageOS source using the repo command-line tool, I would like to make a clone of it in my own github account(they are NOT ONE SINGLE PROJECT! IT IS THOUSANDS OF REPOSITORIES PUT INTO ONE FOLDER!). after looking at the manifest, I felt there is some way to do it automatically. I googled, but it only shows results of how to clone a single repo, thats not what I want.

Final question: I would like to clone the entire LineageOS source, all the packages, apps etc, into my own account automatically.


Solution

  • There seems to be no ratelimit on the api! so I just wrote a simple python script using PyGithub and voila, it cloned em all!