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.


  • 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 for Mac crashes every time, if a local repository is loaded
  • Test and Production server setup with git
  • Failed to connect to 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:

    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.

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