From 9a50e2da62fcbb10d4c87c23ca7f10d6ffaf2170 Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Sun, 16 Apr 2017 21:36:08 +0530 Subject: [PATCH] add alias for git rebase with autosquash --- plugins/git/git.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 34942d38..d8a7d810 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -202,6 +202,8 @@ alias grbc='git rebase --continue' alias grbi='git rebase -i' alias grbm='git rebase master' alias grbs='git rebase --skip' +alias grap='git rebase --autosquash --preserve-merges' +alias griap='git rebase -i --autosquash --preserve-merges' alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' alias grmv='git remote rename'