From 060736857e23e2ffd405a32a60306fcb77454dc2 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Wed, 30 Dec 2020 11:56:03 +0530 Subject: [PATCH] Add shell alias equivalent of git-pull-all --- utils/git_pull_all.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/git_pull_all.go b/utils/git_pull_all.go index f2bd685..c38a655 100644 --- a/utils/git_pull_all.go +++ b/utils/git_pull_all.go @@ -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 { -- 2.43.0