Skip to content

Instantly share code, notes, and snippets.

@robhoare
Last active July 23, 2017 01:29
Show Gist options
  • Save robhoare/05174445188e53d8979389858670333c to your computer and use it in GitHub Desktop.
Save robhoare/05174445188e53d8979389858670333c to your computer and use it in GitHub Desktop.
Update (git pull) all git repos that are directly below the current directory
for i in $(ls -d */); do echo ${i%%/}; cd ${i%%/}; git pull; cd ..; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment