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`.
This commit is contained in:
2018-08-11 19:32:39 +01:00
parent 467789389a
commit 929cb896b1
3 changed files with 27 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
#compdef git-changes
#description Compare changes on this branch with another.
_arguments \
'1: :__git_remote_branch_names_noprefix'
_arguments '1: :__git_remote_branch_names_noprefix'
# vim: ft=zsh