git/_git-fixup
Kenneth Benzie (Benie) 24f77fb550 Add aliases for working with autosquash rebases
* 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`.
2018-08-11 19:32:39 +01:00

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