diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b2b20f2e..81a36832 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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", @@ -41,5 +47,12 @@ }, "problemMatcher": "$msCompile" } + ], + "inputs": [ + { + "id": "commitcount", + "type": "promptString", + "description": "Number of your commits to copy to the clipboard" + } ] } \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5aeae3e0..5c44d216 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 |