All Projects → fboender → Multi Git Status

fboender / Multi Git Status

Licence: mit
Show uncommitted, untracked and unpushed changes for multiple Git repos

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Multi Git Status

defcon
DefCon - Status page and API for production status
Stars: ✭ 12 (-95.6%)
Mutual labels:  status
gitree
Print a directory tree that shows Git status and ignores files dictated by .gitignore.
Stars: ✭ 32 (-88.28%)
Mutual labels:  status
slack-status-based-on-wifi-name
Set your status on Slack based on the WiFi network you are connected to.
Stars: ✭ 30 (-89.01%)
Mutual labels:  status
ggr-ui
The missing /status API for Ggr
Stars: ✭ 37 (-86.45%)
Mutual labels:  status
PageStatusTransformer
A low invasive state management on Android
Stars: ✭ 12 (-95.6%)
Mutual labels:  status
reprise
Simplified module reloader for Elixir
Stars: ✭ 40 (-85.35%)
Mutual labels:  scans
veye-checker
This projects creates SHA values for locale binaries - Shazam for packages.
Stars: ✭ 22 (-91.94%)
Mutual labels:  scans
Damnwebscanner
Another web vulnerabilities scanner, this extension works on Chrome and Opera
Stars: ✭ 254 (-6.96%)
Mutual labels:  scans
ServerStatus
A Discord bot to display the status of servers.
Stars: ✭ 73 (-73.26%)
Mutual labels:  status
teams-call
Shell script to detect when you're in a Microsoft Teams Call. Supports Linux and macOS.
Stars: ✭ 23 (-91.58%)
Mutual labels:  status
status-page
⬆️🌐 Static status page website for Upptime
Stars: ✭ 94 (-65.57%)
Mutual labels:  status
CustomRPC
Set a custom rich presence status on Discord
Stars: ✭ 25 (-90.84%)
Mutual labels:  status
foo drpc
Foobar2000 music status for Discord Rich Presence!
Stars: ✭ 83 (-69.6%)
Mutual labels:  status
minecraft-server-status
PHP library to check Minecraft Servers Status
Stars: ✭ 36 (-86.81%)
Mutual labels:  status
Versionscan
A PHP version scanner for reporting possible vulnerabilities
Stars: ✭ 254 (-6.96%)
Mutual labels:  scans
huebot
Changes a Phillips Hue light's color and flashes based on GitHub's status
Stars: ✭ 34 (-87.55%)
Mutual labels:  status
status-list
A list of your various social statii.
Stars: ✭ 35 (-87.18%)
Mutual labels:  status
Egameplay
一个基于Entity-Component模式的灵活、通用的战斗(技能)框架,配置可选使用ScriptableObject或是Excel表格
Stars: ✭ 239 (-12.45%)
Mutual labels:  status
Cloud Reports
Scans your AWS cloud resources and generates reports. Check out free hosted version:
Stars: ✭ 255 (-6.59%)
Mutual labels:  scans
StateLayout
一种无侵入,使用简单,无需修改现有布局,动态切换布局状态(Loading/Error/Empty/Content)的解决方案。
Stars: ✭ 151 (-44.69%)
Mutual labels:  status

mgitstatus

Show uncommitted, untracked and unpushed changes in multiple Git repositories. Scan for .git dirs up to DEPTH directories deep. The default is 2. If DEPTH is 0, the scan is infinitely deep.

mgitstatus shows:

  • Uncommitted changes if there are unstaged or uncommitted changes on the checked out branch.
  • Untracked files if there are untracked files which are not ignored.
  • Needs push (BRANCH) if the branch is tracking a (remote) branch which is behind.
  • Needs upstream (BRANCH) if a branch does not have a local or remote upstream branch configured. Changes in the branch may otherwise never be pushed or merged.
  • Needs pull (BRANCH) if the branch is tracking a (remote) branch which is ahead. This requires that the local git repo already knows about the remote changes (i.e. you've done a fetch), or that you specify the -f option. mgitstatus does NOT contact the remote by default.
  • X stashes if there are stashes.

Since there are a lot of different states a git repository can be in, mgitstatus makes no guarantees that all states are taken into account.

mgitstatus can also list dirs that are not a repo, if given the -w switch. To ignore certain repos, set the mgitstatus.ignore git config flag for that repo to true. (See "usage" below for an example).

Usage

Usage: ./mgitstatus [--version] [-w] [-e] [-f] [--no-X] [-d/--depth=2] [DIR [DIR]...]

mgitstatus shows uncommitted, untracked and unpushed changes in multiple Git
repositories.  By default, mgitstatus scans two directories deep. This can be
changed with the -d (--depth) option.  If DEPTH is 0, the scan is infinitely
deep.

  --version      Show version
  -w             Warn about dirs that are not Git repositories
  -e             Exclude repos that are 'ok'
  -f             Do a 'git fetch' on each repo (slow for many repos)
  -c             Force color output (preserve colors when using pipes)
  -d, --depth=2  Scan this many directories deep

You can limit output with the following options:

  --no-push
  --no-pull
  --no-upstream
  --no-uncommitted
  --no-untracked
  --no-stashes

The following example scans all directories under the current dir, with a depth of 2. That means the current dir and all directories directly under it.

~/Projects/fboender $ mgitstatus 
./mgitstatus: ok 
./mdpreview: ok 
./snippets: ok 
./boxes: ok 
./ansible-cmdb: Uncommitted changes Untracked files 
./scriptform: Uncommitted changes 

For more examples, see the manual page.

Installation

mgitstatus requires make.

The following steps will install mgitstatus:

# Clone the repo
$ git clone https://github.com/fboender/multi-git-status.git
$ cd multi-git-status

# Install globally (all users)
$ sudo make install

# Install locally (only your user)
$ PREFIX=~/.local make install

License

mgitstatus is released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].