Bash scripts for all cloning and updating git repos under an organization you have access to.
To use the scipts, follow the steps :
- Copy
cloneall.sh.exampletocloneall.shandupdateall.sh.exampletoupdateall.sh - Enter your username and user token in the bash scripts.
- Change the permissions by running
chmod 755 ./cloneall.sh ./updateall.sh - Run
./cloneall.sh <location> <type of the repo> <user/organization>to clone all the repos For eg./cloneall.sh . private sdslabsto clone all private repos in current directory - Run
./updateall.sh <location> <type of the repo> <user/organization>to update the cloned repos For eg./updateall.sh . private sdslabsto update all private repos in current directory