Shell script to clone every repo of a github organization
When you use this shell script Firstly you must set your github information with any text editor and then
-
On Windows
- You can execute it directly
-
On Linux
- open your terminal and run below command
sh clone-all-repos.sh
-
ORGANIZATION_NAME=// without quotes
-
USER_NAME= // without quotes
-
GITHUB_TOKEN= // without quotes
-
See here for token generation: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/