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!
$ gem install gitsu
Gitsu is intended to be used from the command line, through Git.
To switch the configured Git user:
$ git su "John Galt <[email protected]>" Switched local user to John Galt <[email protected]>
To make it easier to switch users, tell Gitsu about some users.
$ git su --add "John Galt <[email protected]>" $ git su --add "Raphe Rackstraw <[email protected]>" $ git su jg Switched local user to John Galt <[email protected]> $ git su raphe Switched local user to Raphe Rackstraw <[email protected]>
To pair with your friend switch to both users at once
$ git su jg rr Switched local user to John Galt and Raphe Rackstraw <[email protected]>
For more information, see the documentation
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Make your changes, and add tests for them
- Test your changes (
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
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/.