Created
October 15, 2019 10:37
-
-
Save christianhelle/c3b38233f0a888181d05467b1d80f3a7 to your computer and use it in GitHub Desktop.
Pulls all git repositories from a folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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