Skip to content

markmontymark/script-git-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

script-git-status

Check the status of local git repos in a directory. I usually clone all git repos in a $HOME/git/ directory. I sometimes want to see which repos are clean, dirty or not uploaded to github yet, so I wrote git-status.sh to give me a status.

setup

Make executable and copy to somewhere in $PATH

chmod 755 git-status.sh
sudo cp git-status.sh /usr/local/bin

usage

$ cd $HOME/git
$ git-status.sh
node-scrape-html
patterns
M README.md
./proxy
script-git-status

color meanings

  • green - clean status, no changes to stage, commit or push
  • red - dirty status, you have changes to stage, commit or push
  • blue - no .git/ directory found, so not a git repo

About

Check the status of all git repos in a directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages