Sha256: 87bb0a9329d8eb815f1d35725fcb557d642f52bce0636fe01d8a6e62f7f95985

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

# Gitsu

[![Build Status](https://travis-ci.org/drrb/gitsu.png)](https://travis-ci.org/drrb/gitsu)
[![Coverage Status](https://coveralls.io/repos/drrb/gitsu/badge.png?branch=master)](https://coveralls.io/r/drrb/gitsu)
[![Code Climate](https://codeclimate.com/github/drrb/gitsu.png)](https://codeclimate.com/github/drrb/gitsu)

Gitsu helps to manage your Git users, by making it easy to switch
between users. 

## Installation

    $ gem install gitsu

## Usage

Gitsu is intended to be used from the command line, through Git.

To switch the configured Git user:

    $ git su "John Galt <jgalt@tcmc.com>"

    Switched local user to John Galt <jgalt@tcmc.com>

To make it easier to switch users, tell Gitsu about some users.

    $ git su --add "John Galt <jgalt@tcmc.com>"
    $ git su --add "Raphe Rackstraw <rack@hp.royalnavy.mod.uk>"
    $ git su jg

    Switched to user John Galt <jgalt@tcmc.com>

    $ git su raphe

    Switched to user Raphe Rackstraw <rack@hp.royalnavy.mod.uk>

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gitsu-0.0.3 README.md
gitsu-0.0.2 README.md