Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 961 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 961 Bytes

is-everything-pushed CI

A bash script to make sure everything in your Git repository folder is pushed.

Usage

$ 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
└── ...

Example Output

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 👌

Quick Usage

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]