Project

simple_gas

0.0
No commit activity in last 3 years
No release in over 3 years
Gas is a utility to keep track of your git authors. Add them to gas and switch at any time. Great if you use one author at work and one at home or if you are doing pair programming. Includes SSH support.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
>= 0
>= 0

Runtime

>= 0
~> 1.2.2
~> 0.14.6
 Project Readme

simple_gas (gas rework)

Description

Gas is a mighty utility that helps you keep track of your multiple git authors. Add them to gas and switch between them instantly! Great if you use one author at work and one at home or if you are doing pair programming.

Installation

The best way to install gas is with RubyGems:

$ [sudo] gem install simple_gas

You can install from source:

$ cd gas/
$ bundle
$ rake install

Running

The default task is to list authors

$ gas
$ gas list

This lists the authors that are set up in the ~/.gas/gas.authors file.

You can import your current user by giving it a nickname

$ gas import current_user

To add an author use, add

$ gas add walle "Fredrik Wallgren" fredrik.wallgren@gmail.com

And the main usage, use

$ gas use walle

To delete it again use, delete

$ gas delete walle

Gas can also juggle your id_rsa ssh keys, which is helpful for uploading to github between multiple accounts. Indespensible for teachers who need to instruct their students on how to use github!

$ gas add Njax NotarySojac no@mail.com
Do you want gas to handle switching rsa keys for this user?
[y/n]

View gas -h to see all options.