Small tool for switching common identities (ssh keys, git config, etc)
gem install me
me --help
Switching identity automatically activates its configuration
me switch NAME
# Example:
me switch personal
me switch work
me # This will actually activate all configuration (alias for `me activate`)
# or
me whoami # This will not activate configuration
me config git NAME GIT_FULL_NAME GIT_EMAIL
# Example:
me config git personal 'John Smith' 'john.smith@example.org'
me config git work 'John S.' 'john.s@corporation.com'
me config ssh NAME SSH_KEYS
# Example
me config ssh personal ~/.ssh.personal/github ~/.ssh.personal/bitbucket ~/.ssh.personal/id_vps
me config ssh work ~/.ssh.work/id_rsa
- Fork it ( https://github.com/waterlink/me/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- waterlink - Oleksii Fedorov, creator, maintainer