Skip to content

sanjusci/git_clone_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git_clone_script

Updation:

Adding git pull functionality if repo exists else create new repo on given path.

---

Clone all repos related to a user or clone single user repo.

Requirements Python 3.x, pip

How to run? Move to , create virtual environment and then activate it as

$ cd

$ virtualenv .environment

$ source .environment/bin/activate Add project to PYTHONPATH as

$ export PYTHONPATH="$PYTHONPATH:." # . corresponds to current directory(project-dir) Under install requirements/dependencies as

$ pip install -r requirements.txt Then run script.py as

$ python3 script.py -u "git username"

or

for single directory clone

$ python3 script.py -u "git username" -r "git user repo name"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages