https://github.com/stephtr/git-identity
This VS Code extension adds a button to easily switch between different Git identities.
https://github.com/stephtr/git-identity
Last synced: about 1 year ago
JSON representation
This VS Code extension adds a button to easily switch between different Git identities.
- Host: GitHub
- URL: https://github.com/stephtr/git-identity
- Owner: stephtr
- License: mit
- Created: 2019-06-19T11:22:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T20:06:08.000Z (about 2 years ago)
- Last Synced: 2025-04-09T16:56:42.212Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 279 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Git-Identity switcher
This VS Code extension adds a button to easily switch between different Git authors.
## Features
If multiple people are sharing a single operating system user account and are working on the same Git repository, it is hard to keep track of their individual contributions.
For such cases this extension adds a button to the VS Code status bar displaying the currently set author. You can change it by clicking on the status bar item.

## Extension Settings
This extension contributes the following settings:
- `git-identity.authors`: available Git authors (each array entry should be of the form 'John Doe john@doe.com')
- `git-identity.showEmail`: When to display the email address of the current author in the status bar.
`always`, `never`, or `for identical names` when the currently active author has multiple profiles with the same name but different email addresses (default)
## Release Notes
### [1.2.0] - 2024-04-18
- Added a setting for whether to show the email address (thanks to Wesztman!)
### [1.1.2] - 2024-04-15
- In case the currently selected author has multiple profiles, also show the email address
- The extension also activates, if a `.gitignore` file is present in the workspace.
### 1.0.0
Initial release