Me
Small tool for switching common identities (ssh keys, git config, etc)
Installation
gem install me
Usage
me --help
Switching identity
Switching identity automatically activates its configuration
me switch NAME
# Example:
me switch personal
me switch work
Checking which identity is active
me # This will actually activate all configuration (alias for `me activate`)
# or
me whoami # This will not activate configuration
Configuring git identity
me config git NAME GIT_FULL_NAME GIT_EMAIL
# Example:
me config git personal 'John Smith' '[email protected]'
me config git work 'John S.' '[email protected]'
Configuring ssh identity
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
Contributing
- 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
Contributors
- waterlink - Oleksii Fedorov, creator, maintainer