jesseduffield / jesseduffield/lazygit

Dropdown for selecting Docs: Feat: Chore: Etc.

Open
#5,284 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### Is your feature request related to a problem? Please describe.
I follow a very strict pattern in my commit messages, which usually looks like:
`docs: add mention of breaking issue in uploading new files`
`chore: initial rebrand to gmdp`
`bugfix: fix crash when installing unregistered plugin`
`feat: add button to close window`

Sometimes, a project can use really long message prefixes. One of my projects has the prefix:
```
gitfix/squash:
```
as a legacy type I created a long time ago. Typing all of that every time is a pain.

### Describe the solution you'd like
It would be neat if lazygit could have selectable dropdown of prefixes that can be configured in some way, either via a config in the project itself, or as something in `.git`

Image

### Describe alternatives you've considered
Copypasting prefixes, but that can be quite the mess if there are many conflicting prefixes.
Keeping prefixes in the project folder in a text file then getting it from there

### Additional context
Add any other context or screenshots about the feature request here.

Already put one screengrab

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.