Clones and updates all github repos of a given user or organization. Supports SSH and HTTPS.
.github/workflows | ||
src | ||
test | ||
tools | ||
.gitignore | ||
Makefile | ||
README.md |
clone-all
Bash tool to clones and update all github repos of a given user or organization. Supports SSH and HTTPS.
Quick Start
git clone https://github.com/yunginnanet/clone-all && cd clone-all && make install
Environment Variables
Building
CLONEALL_INSTALL_TARGET
: directory (preferably in your path) to copyclone-all
exec when runningmake install
.- uses install.
- defaults to
${HOME}/.local/bin
and warns if target is not in$PATH
.
Runtime
CLONEALL_SSH
: set/export this totrue
to enable fetching/pulling via ssh by default without flagCLONEALL_DESTINATION
: set/export this to the directory you want the cloned/updated repos to live