* Rename the `squash` alias to `prepare` to repurpose it. * Change `squash` alias to `git commit --squash=<commit>`. * Add `fixup` alias to `git commit --fixup=<commit>`. * Set the `rebase.autoSquash` config option to `true`.
7 lines
139 B
Bash
7 lines
139 B
Bash
#compdef git-fixup
|
|
#description Prepare a commit for fixup during autosquash rebase.
|
|
|
|
_arguments '1: :__git_recent_commits'
|
|
|
|
# vim: ft=zsh
|