Skip to content

Instantly share code, notes, and snippets.

@peadardefaoite
peadardefaoite / git-batch.sh
Last active August 20, 2020 12:07
Short shell script to batch update or clone a given list of repositories. Change developRepos / masterRepos to whatever your repo names are as well as your default branch name. Place in the root directory of where your repos are located and call `./git-batch.sh update` or `./git-batch.sh clone`
#!/bin/bash
# Call with git-batch update or git-batch clone
# default branch is develop
developRepos=(
'test_1' )
# default branch is master
masterRepos=(

Keybase proof

I hereby claim:

  • I am peadardefaoite on github.
  • I am peadardefaoite (https://keybase.io/peadardefaoite) on keybase.
  • I have a public key ASCNad5Q0R6RAb_UrUF8Vbm7NVnNxneTv3x1vOaa9O1qSAo

To claim this, I am signing this object: