Showing repo status via directory color

I would like a zsh plugin to show me which git repositories have changes to be pushed based on the color of the root directory.

Ex://
Code
\Project1
\Project2

  • how to overwrite commit with new one on git?
  • Deploy laravel app on heroku - push rejected
  • How to undo misoperation of Reinitialized existing Git repository
  • Project commits too many files
  • git alias get cwd
  • git - changes to branch since created?
  • I would like Project1 and Project2 to be colored based on their git status when you run ls from the Code directory.

    How can I make that happen?

  • The GitHub.app for Mac crashes every time, if a local repository is loaded
  • Test and Production server setup with git
  • Failed to connect to bitbucket.org port 443: Network is unreachable
  • Uninitialize git repository
  • Stream support for git-p4 or good p4 command line tutorial?
  • Following git-flow how should you handle a hotfix of an earlier release?
  • One Solution collect form web for “Showing repo status via directory color”

    You can try some zsh git theme like this one, which changes the directory color to reflect a dirty status:

    https://raw.github.com/gist/3712874/5d28e2d9fe2e4d0a4fda0315ad97bdafa399425c/screenshot.png


    Another alternative is to keep the status color separate from the directory itself: see this zsh theme (from Josh Dick)to shows a “traffic light” representation of git status:

    • Red (●) means there are untracked changes.
    • Yellow (●) means there are unstaged changes.
    • Green (●) means there are staged changes.

    http://blog.joshdick.net/asset/post_assets/2012/12/git_zsh_prompt.png

    Git Baby is a git and github fan, let's start git clone.