Created
September 22, 2022 15:24
-
-
Save felipeelia/14c0df9216422844ab5ca798670fecbc to your computer and use it in GitHub Desktop.
Visual Studio Code snippet to add co-authors to commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// Hit ctrl+P and select Snippets: Configure User Snippets | |
// New Global Snippets file | |
// Add `global-snippets` as the name and copy this file contents in it | |
// Go to the commit box, start typing `git_co_authored_by`, hit ctrl+space and select this snippet | |
"Git Co-authored-by": { | |
"prefix": "git_co_authored_by", | |
"body": [ | |
"", | |
"", | |
"Co-authored-by: ${1:Full Name} <${2:username}@users.noreply.github.com>" | |
], | |
"description": "Add a co-author to the commit" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment