Skip to content

victoriadrake/git-rundown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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, 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.

Screenshot of output

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:

chmod +x git-rundown.sh
./git-rundown.sh [directory]

The directory argument is optional and defaults to the current directory.

About

πŸ—ƒ Check the status of multiple git repositories in a folder

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages