A bash script to make sure everything in your Git repository folder is pushed.
$ sh ./is-everything-pushed.sh /path/to/repos/parent/folder
This scripts assumes you have all your Git repositories in the same parent-folder.
.
├── repo-1
├── repo-2
├── repo-3
└── ...
When you have unpushed changes:
🙈 Unpushed changes in /Users/simon/repos/dotfiles/
🙈 Unpushed changes in /Users/simon/repos/lazy-reading/
When you don't have any unpushed changes:
No unpushed changes! All is good 👌
curl
the script and execute it. Just make sure to
replace [REPO FOLDER]
with an absolute path to your repo folder.
$ /bin/bash <(curl -s https://raw.githubusercontent.com/simeg/is-everything-pushed/master/is-everything-pushed.sh) [REPO FOLDER]