Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/waterlink/me

Small tool for switching common identities (ssh keys, git config, etc)
https://github.com/waterlink/me

Last synced: 30 days ago
JSON representation

Small tool for switching common identities (ssh keys, git config, etc)

Awesome Lists containing this project

README

        

# 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

1. Fork it ( https://github.com/waterlink/me/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [waterlink](https://github.com/waterlink) - Oleksii Fedorov, creator, maintainer