cig

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2015 License: MIT Imports: 15 Imported by: 0

README

cig

Can I go? CLI app for checking the state of your git repositories.

cig

Installation

To install cig follow the instructions for your os below:

OSX/Linux

One line install

You can run the following that downloads the binary and changes the execute permission on it:

curl -L http://bit.ly/1Hm2Llh | sudo bash
Manual install
curl -L https://s3-eu-west-1.amazonaws.com/cig.steven-jack.co.uk/0.1.0/cig_`uname -s`_`uname -m` > /usr/local/bin/cig
chmod +x /usr/local/bin/cig

Windows

Download the following binary:

then run it in a cmd prompt:

C: cig_windows_amd64.exe

Setup

First create the following yaml file in your home directory:

~/.cig.yaml

work: /path/to/work/repos
personal: /path/to/personal/repos

this is a list of the different folders that contain your repos you want to check.

Usage

Simply run:

$: cig

and all repos will be checked and the following will show up:

  • Repos that need pushing up to the origin (P)
  • Repos that have new, unstaged and staged changes (M(10))

Filters

If you just want to check your 'work' repos for changes:

$: cig -t work

To filter them based on a certain string such as 'steve':

$: cig -f steve

You can also combine them, so to only show 'work' repos with 'steve' in the path:

$: cig -t work -f steve

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL