https://github.com/simeg/is-everything-pushed
A script to make sure everything in your Git repository folder is pushed
https://github.com/simeg/is-everything-pushed
bash bash-script git git-push
Last synced: about 2 months ago
JSON representation
A script to make sure everything in your Git repository folder is pushed
- Host: GitHub
- URL: https://github.com/simeg/is-everything-pushed
- Owner: simeg
- Created: 2017-12-17T20:14:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T17:47:43.000Z (over 5 years ago)
- Last Synced: 2025-03-23T09:15:46.118Z (about 1 year ago)
- Topics: bash, bash-script, git, git-push
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `is-everything-pushed` 
A bash script to make sure everything in your Git repository folder is pushed.
# Usage
```sh
$ sh ./is-everything-pushed.sh /path/to/repos/parent/folder
```
This scripts assumes you have all your Git repositories in the same
parent-folder.
```sh
.
├── repo-1
├── repo-2
├── repo-3
└── ...
```
## Example Output
When you have unpushed changes:
```sh
🙈 Unpushed changes in /Users/simon/repos/dotfiles/
🙈 Unpushed changes in /Users/simon/repos/lazy-reading/
```
When you don't have any unpushed changes:
```sh
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.
```sh
$ /bin/bash <(curl -s https://raw.githubusercontent.com/simeg/is-everything-pushed/master/is-everything-pushed.sh) [REPO FOLDER]
```