Socket
Book a DemoInstallSign in
Socket

gitsu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitsu

2.0.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Gitsu

Build Status Coverage Status Code Climate

Gem Version Dependency Status

Gitsu helps to manage your Git users, by making it easy to switch between users. Gitsu also supports pair programming by allowing you switch to multiple users at once!

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@example.com>"

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

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

$ git su --add "John Galt <jgalt@example.com>"
$ git su --add "Raphe Rackstraw <rrack@example.com>"
$ git su jg

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

$ git su raphe

Switched local user to Raphe Rackstraw <rrack@example.com>

To pair with your friend switch to both users at once

$ git su jg rr

Switched local user to John Galt and Raphe Rackstraw <dev+jgalt+rrack@example.com>

Documentation

For more information, see the documentation

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Make your changes, and add tests for them
  • Test your changes (rake)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

License

Gitsu Copyright (C) 2013 drrb

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

FAQs

Package last updated on 13 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.