recursivegitpull alias updated

This commit is contained in:
mgeeky 2019-12-04 11:55:42 +01:00
parent 4ffdcef947
commit 95203e33e1

View File

@ -826,7 +826,7 @@ alias eslintjs='eslint --no-eslintrc -c ~/.eslintrc.js .'
alias unblock_dir='sudo chmod -R 755' alias unblock_dir='sudo chmod -R 755'
alias block_dir='sudo chmod -R 700' 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 EOF
sed -i -r "s:~/:$ROOT_DIR/:" $ROOT_DIR/.bashrc sed -i -r "s:~/:$ROOT_DIR/:" $ROOT_DIR/.bashrc