https://github.com/jondotsoy/git-conventional-commits
https://github.com/jondotsoy/git-conventional-commits
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jondotsoy/git-conventional-commits
- Owner: JonDotsoy
- Created: 2021-12-27T15:36:56.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2021-12-27T21:14:54.000Z (over 3 years ago)
- Last Synced: 2025-01-26T10:30:34.450Z (4 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Conventional Commits
Command line tool to generate conventional commits in terminal.

## How to install
Run the next line in your shell terminal
```shell
curl -L https://gist.github.com/JonDotsoy/80f495333905a9b702fb681cd1a8faf2/raw/install.sh | sh
```## Starship Integration
Add custom command to look the current scope setted.

Open the `starship.toml` file and add the next command:
```toml
[custom.git-commit-conventional_scope]
command = 'echo "$(git config --local -z --get git-commit-conventional.scope)$([[ $(git config --local --get git-commit-conventional.breaking-change) == "true" ]] && echo "!" )"'
when = 'git config --local -z --get git-commit-conventional.scope'
style = "bold green"
symbol = "❇️"
format = "[$symbol ($output )]($style)"
```