Parallelize git push-pending pushing

This commit is contained in:
Talia 2021-03-05 14:30:22 +01:00
parent 8fefbaf417
commit 39cfd247a9
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ fi
echo "$repositories" \
| zenity --list --column Repository --column Path --text "Repositories that need pushing:" --multiple --title "Git" --separator ';' --width 800 --height 300 --print-column=2 2>/dev/null \
| tr ';' '\n' \
| xargs -L 1 -I€ sh -c 'cd € && git push'
| xargs -P`nproc` -L 1 -I€ sh -c 'cd € && git push'