1.0.3 • Published 2 years ago
git-folder-status v1.0.3
Description
Print git status of multiple repositories.
Installation
Install the package globally
npm install -g git-folder-status
Colors
Repo Color | Description | Color |
---|---|---|
The branch is behind | Blue | |
The branch has unpushed committed files | Green | |
The branch has uncommited modified files | Red | |
The branch has untracked files | Orange | |
File Color | Description | Color |
/ B | The branch is behind | Light Blue |
/ C | Committed unpushed files | Dark Green |
/ N | Staged new files | Green |
/ M | Staged modified files | Light Green |
/ M | Unstaged modified files | Light Red |
/ ? | New files | Light Orange |
If the repo is already up to date, it won't print the status
Requirements
- Powerline Fonts to display the correct symbols
How to use it?
On terminal go to the root of your nested repositories and run git-folder-status
You can always create an alias of your choice in ~/.zshrc
or ~/.bash_profile
instead of using git-folder-status
, eg:
alias gs='git-folder-status'