Skip to content

Commit

Permalink
contributing guide - added Code task for formatting commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Nov 17, 2021
1 parent 2b0d11f commit 16b0a72
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "changelog commits",
"type":"shell",
"command": "git reflog --pretty=format:'* %h %s' | clip",
"problemMatcher": "$msCompile"
},
{
"label": "build-library",
"type": "shell",
Expand Down Expand Up @@ -41,5 +47,12 @@
},
"problemMatcher": "$msCompile"
}
],
"inputs": [
{
"id": "commitcount",
"type": "promptString",
"description": "Number of your commits to copy to the clipboard"
}
]
}
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ The git history of a branch is utilized in building the CHANGELOG for the projec

More info: [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/)

A task, `changelog commits`, is available in Code for this project that allows you to copy the formatted commit messages used in our CHANGELOG.

## Project Folder Structure

| Folder | Description |
Expand Down

0 comments on commit 16b0a72

Please sign in to comment.