Parallelize git push-pending pushing
This commit is contained in:
parent
8fefbaf417
commit
39cfd247a9
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue