This VS Code extension adds a button to easily switch between different Git authors.
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.
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
, orfor identical names
when the currently active author has multiple profiles with the same name but different email addresses (default)
- Added a setting for whether to show the email address (thanks to Wesztman!)
- 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.
Initial release