https://github.com/v-spassky/commitwc
🗜 CLI tool to make sure your commit message is short enough.
https://github.com/v-spassky/commitwc
cli git
Last synced: about 2 months ago
JSON representation
🗜 CLI tool to make sure your commit message is short enough.
- Host: GitHub
- URL: https://github.com/v-spassky/commitwc
- Owner: v-spassky
- Created: 2023-03-11T17:51:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T07:26:37.000Z (almost 3 years ago)
- Last Synced: 2026-03-29T17:24:47.112Z (3 months ago)
- Topics: cli, git
- Language: Rust
- Homepage:
- Size: 1.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `commitwc`
A CLI tool that helps you keep your commit messages concise so that message length complies
with the 50/72 rule / is short enough not to be wrapped on Github / complies with your
team's commit message style guide.
- counts the number of characters in your commit message
- copies the message to the clipboard

> **Note**
>
> Windows is not supported yet.
### Installation
*Assuming that `~/.local/bin` is in your `$PATH`.*
##### Via downloading a binary
Go to the [releases page](https://github.com/v-spassky/commitwc/releases) and
grab an archive with the latest binary for your platform if it is available
there. Then extract the binary to `~/.local/bin`.
> **Note**
>
> If there isn't a pre-compiled binary for your platform, the only option is to
> build from source code.
##### Via building from source code
```
git clone https://github.com/v-spassky/commitwc.git
```
```
cd commitwc
```
```
cargo build --release
```
```
cp target/release/commitwc ~/.local/bin
```
### Usage
Launch the `commitwc` command and type your commit message. The tool will count the number of words in your commit message. After you press `Enter`, the tool will copy the message to the clipboard and exit.