A Zsh plugin that provides useful aliases and functions for the fuckmit command-line tool, an AI-powered git commit message generator.
- Clone this repository into your Oh My Zsh custom plugins directory:
git clone https://github.com/mingeme/zsh-fuckmit.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-fuckmit- Add the plugin to your
.zshrcfile:
plugins=(... zsh-fuckmit)| Alias | Command | Description |
|---|---|---|
fm |
fuckmit |
Run fuckmit |
fmd |
fuckmit -d |
Generate message without committing (dry run) |
fma |
git add . && fuckmit |
Add all untracked and modified files |
fmA |
git reset HEAD~ --soft && fuckmit |
Amend the last commit |
fmAd |
git reset HEAD~ --soft && fuckmit -d |
Amend last commit dry run |
fmm |
git reset $(git rev-parse --abbrev-ref origin/HEAD) --soft && fuckmit |
Reset to main branch and commit |