🎠Get all unstaged git repos in a folder
npm install git-unstaged -g
Usage: git-unstaged [options]
Key:
M -> modified
A -> added
D -> deleted
R -> renamed
C -> copied
?? -> untracked
Commands:
-h, --help, help Output usage information
-v, --version, version Output the version number
Options:
-b, --baseDirectory [path] The base directory where operations should start from
-d, --depth [value] The specified depth you want to recursively search for git repos
-a, --all Show all git repos and their status
$git-unstaged --depth 2
/Users/gabrielcsapo/Documents/espyjs
## wip
M index.js
D npm-debug.log
M package.json
/Users/gabrielcsapo/Documents/git-unstaged
## master...origin/master
M CHANGELOG.md
M README.md
M package.json
?? .eslintignore
?? .eslintrc
?? bin/
?? lib/
Since git allows the execution of non builtin methods another way to run this command would be
$git unstaged --depth 2
/Users/gabrielcsapo/Documents/espyjs
## wip
M index.js
D npm-debug.log
M package.json
/Users/gabrielcsapo/Documents/git-unstaged
## master...origin/master
M CHANGELOG.md
M README.md
M package.json
?? .eslintignore
?? .eslintrc
?? bin/
?? lib/