Add git push-pending done notification

This commit is contained in:
Talia 2021-03-05 14:32:48 +01:00
parent 39cfd247a9
commit e167dc4a84

View file

@ -11,3 +11,4 @@ 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 \ | 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' \ | tr ';' '\n' \
| xargs -P`nproc` -L 1 -I€ sh -c 'cd € && git push' | xargs -P`nproc` -L 1 -I€ sh -c 'cd € && git push'
notify-send Git 'Pushed everything 🎉'