https://github.com/albenik/git-summary
Checks what repos has been changed in your workspace.
https://github.com/albenik/git-summary
Last synced: about 1 month ago
JSON representation
Checks what repos has been changed in your workspace.
- Host: GitHub
- URL: https://github.com/albenik/git-summary
- Owner: albenik
- License: mit
- Created: 2017-10-16T08:08:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T10:18:24.000Z (over 5 years ago)
- Last Synced: 2024-08-02T22:23:19.588Z (10 months ago)
- Language: Shell
- Size: 85.9 KB
- Stars: 12
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-github-repos - albenik/git-summary - Checks what repos has been changed in your workspace. (Shell)
README
# git-summary
**If you ever experienced one of the following situations, git-summary is for you.*** I don't remember where some of my repositories are...
* Did I forgot to push that commit?
* Do I have a repo in my system that is outdated?
* Did someone pushed new commits to `origin/master` in one of my repos?
* Did I commit that quick change I made before the pizza delivery guy rang my door?git-summary is a bash script that will neatly list the current status of any git repos it founds within a directory or your entire system. See the example screenshot below:
## Requirements
**Currently supported operating systems:** Linux, MacOS and Cygwin### Linux
* `sudo apt-get install gawk`### MacOS
* `brew install coreutils`## Installation
### Via aliasing
Clone this repo and alias the script. To do so, add the following line to `~\.bashrc`:```
alias git-summary='/git-summary/git-summary'
```> `` is the path to the cloned repo. Don't worry, if you ever forget where you cloned this repo, you will be able to easily find it with `git-summary` :wink:
### Via executable lookup
Copy `git-summary` in `/usr/local/bin`.## Usage
General usage:```
git-summary [options] path
````path` is optional and the current directory will be used if left blank.
### Options
* **-h**: Print help and exit.
* **-l**: Local summary lookup. Checks only local changes which is faster as there is no need to fetch the remote.
* **-d**: Deep lookup. Look for any git repos within the entire current directory tree. Can be slowish for large trees.
* **-q**: Quiet mode. Only print outdated repos.## Branch status
Currently, `git-summary` does not list multiple branches per repo. However, for single repos [`git-branch-status`](https://github.com/bill-auger/git-branch-status) does this beautifully.## Credits
A big thanks :metal: to the amazing people that contributed to the original versions of `git-summary`:* **Forked from** [lordadamson](https://github.com/lordadamson/git-summary)
* [mzabriskie](https://github.com/mzabriskie) (Posted the original idea [here](https://gist.github.com/mzabriskie/6631607))
* [CycleMost](https://github.com/CycleMost)
* [lmj0011](https://github.com/lmj0011)
* [gimbo](https://github.com/gimbo)
* [zartc](https://github.com/zartc)Additional thanks go to:
* [ruricolist](https://github.com/ruricolist) - Cygwin support and quiet mode.