Skip to content

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

Notifications You must be signed in to change notification settings

simeg/is-everything-pushed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published