]> njoseph.me Git - goutils.git/blobdiff - utils/git_pull_all.go
Add shell alias equivalent of git-pull-all
[goutils.git] / utils / git_pull_all.go
index f2bd685231c630e9b6f5e9ffc30b12d0119e4d86..c38a655dbfd247fdeb296fcfdb8e5bda59cfc690 100644 (file)
@@ -8,6 +8,9 @@ import (
        "sync"
 )
 
+// Equivalent to the following shell alias
+// alias git-pull-all="ls -d */ | xargs -P12 -I{} git -C {} pull"
+
 func GitPullAll() {
        currentDirectory, err := os.Getwd()
        if err != nil {