Helpful when pair programming.
Open VS Code and search for "git-mob" in Extensions panel.
Via the terminal
If you also use git-mob cli they work fine together.
Select co-authors -
Solo - clear all selected co-authors:
Saving your co-authors
To keep track of co-authors git-mob uses a JSON file called
Add new co-authors
Add from repository contributors
Click the plus + button on an author in More Authors list.
Search repository contributors co-authors
Click the search icon on the More Authors section or
Select one of multiple open Git repositories and add co-author metadata to source control input field. You can have different co-authors applied to all the open Git repositories.
Using the standardised list from Gitmoji.
Search and select an emoji to add to the Git message input field.
Change primary author
Post commit -> Solo
After a commit remove selected co-authors. If you commit in the command-line the UI will update as well.
Author list -> Expand more authors
Expand 'More Authors' tree when UI starts.
Author list -> More Authors To Co-authoring
Add a new author directly to 'Co-authoring' from 'More Authors'.
Github -> Personal Access Token
Optional: if you want the users public email then you will need the PAT.
Default will return the anonymous GitHub email.
Co-authors -> Sort direction
Co-author list sorting direction.