Project

mgit

0.0
No commit activity in last 3 years
No release in over 3 years
M[eta]Git let's you manage multiple git repositories simultaneously
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.14

Runtime

~> 0.7
~> 1.6
~> 2.2
 Project Readme

mgit - meta git repository tracker

Code Climate

mgit let's you track all your git repositories at once. It is inspired by App::GitGot.

Getting started

Install mgit:

gem install mgit

Add some repositories:

mgit add <path to some git repository>

See the status:

$ mgit status
repo A...        | master            | Clean
repo B...        | develop           | Clean
repo C...        | develop           | Behind of origin/develop by 4
repo D...        | feature/something | Clean

Get help:

$ mgit help
M[eta]Git - manage multiple git repositories at the same time

Usage:
mgit list
  - list all repositories
mgit grep <pattern>
  - grep for a pattern in each repository
mgit config <key> <value>
  - configure MGit
mgit removeall
  - removes all repositories from mgit (resets mgit's store)
mgit version
  - display mgit version
mgit fetch
  - fetch all remote repositories
mgit head
  - show repository HEADs
mgit status
  - display status for each repository
mgit remove <name/path>
  - remove a repository
mgit help [command]
  - display help information
mgit foreach <command...>
  - execute a command for each repository
mgit tags
  - display the latest tag in repository (master branch)
mgit add <path_to_git_repository> [name]
  - add a repository to mgit
mgit log
  - show unmerged commits for all remote-tracking branches
mgit show <commit-sha/obj>
  - display commit object from any repository
mgit ffmerge
  - merge all upstream tracking branches that can be fast-forwarded
mgit clone [options] <url> [<directory>]
  - clone repository and add to mgit
mgit cleanfd
  - git-clean -fd each directory