Skip to content

Instantly share code, notes, and snippets.

@christianhelle
Created October 15, 2019 10:37
Show Gist options
  • Save christianhelle/c3b38233f0a888181d05467b1d80f3a7 to your computer and use it in GitHub Desktop.
Save christianhelle/c3b38233f0a888181d05467b1d80f3a7 to your computer and use it in GitHub Desktop.
Pulls all git repositories from a folder
#!/bin/bash
find . -name ".git" -type d | sed 's/\/.git//' | xargs -P10 -I{} git -C {} pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment