https://github.com/victoriadrake/git-rundown
🗃 Check the status of multiple git repositories in a folder
https://github.com/victoriadrake/git-rundown
developer-tools development-environment git github
Last synced: 8 months ago
JSON representation
🗃 Check the status of multiple git repositories in a folder
- Host: GitHub
- URL: https://github.com/victoriadrake/git-rundown
- Owner: victoriadrake
- License: unlicense
- Created: 2020-03-02T16:12:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-19T14:47:12.000Z (over 2 years ago)
- Last Synced: 2025-03-18T16:04:09.416Z (8 months ago)
- Topics: developer-tools, development-environment, git, github
- Language: Shell
- Homepage:
- Size: 49.8 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-rundown: 🗃 Check the status of multiple git repositories in a folder
I have a directory of git repositories, and I want to know the state of them without `cd`-ing into each one. I want a git rundown.
Forked from @mzabriskie's [git-status gist](https://gist.github.com/mzabriskie/6631607), this script provides a colorfully concise two-line output that includes the current branch name, status of modified or untracked files, as well as noting if there are unpushed commits. It looks one level deep for a git repository, and will note if the current folder isn't one.

This works really well for a directory on your machine like `~/user/github/` where you've cloned all your repositories.
## Usage
Save as a file, for example, `git-rundown.sh`. Make it executable, then run:
```bash
chmod +x git-rundown.sh
./git-rundown.sh [directory]
```
The directory argument is optional and defaults to the current directory.