Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmstern/smart-commit-template

This tool allows VSCode to automatically remember your last entered commit message and pre-fill the commit message with the recently checked-out branch name.
https://github.com/dmstern/smart-commit-template

Last synced: 1 day ago
JSON representation

This tool allows VSCode to automatically remember your last entered commit message and pre-fill the commit message with the recently checked-out branch name.

Awesome Lists containing this project

README

        

# smart-commit-template

This is a small command line tool, which configures a `post-commit` and a `post-checkout` git hook and sets the `commit.template` to `.git/.gitmessage.txt`.

This allows VSCode to automatically remember your last entered commit message and pre-fill the commit message input with the recently checked-out branch name.

## Installation

```bash
npm i -g smart-commit-template
```

## Usage

```bash
cd my-project-folder
smart-commit-template
```