From 95203e33e18dce9419058d62e954f53cfb001c1c Mon Sep 17 00:00:00 2001 From: mgeeky Date: Wed, 4 Dec 2019 11:55:42 +0100 Subject: [PATCH] recursivegitpull alias updated --- linux/prepare-kali.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/prepare-kali.sh b/linux/prepare-kali.sh index 7abbb68..6bc0b49 100644 --- a/linux/prepare-kali.sh +++ b/linux/prepare-kali.sh @@ -826,7 +826,7 @@ alias eslintjs='eslint --no-eslintrc -c ~/.eslintrc.js .' alias unblock_dir='sudo chmod -R 755' alias block_dir='sudo chmod -R 700' -alias recursivegitpull='find . -mindepth 1 -maxdepth 1 -type d -print -exec git -C {} pull \;' +alias recursivegitpull='find . -name ".git" -type d -exec echo {} \; -exec git -C {}/.. pull \;' EOF sed -i -r "s:~/:$ROOT_DIR/:" $ROOT_DIR/.bashrc