Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T17:47:43.000Z (about 4 years ago)
- Last Synced: 2023-02-27T17:02:28.306Z (almost 2 years 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` ![CI](https://github.com/simeg/is-everything-pushed/workflows/CI/badge.svg)
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]
```