git-unstaged

1.0.1 • Public • Published

git-unstaged

🎭 Get all unstaged git repos in a folder

Npm Version Build Status Coverage Status Dependency Status devDependency Status npm npm

Installation

npm install git-unstaged -g

Usage

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

Example

$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/

Readme

Keywords

Package Sidebar

Install

npm i git-unstaged

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.88 MB

Total Files

13

Last publish

Collaborators

  • gabrielcsapo