From e80db924082dd07a108e38c209a1d61028c27d6c Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 23 Nov 2017 09:02:19 +0200 Subject: [PATCH] Removed git autosquash alias, happier with autorebase for non-interactive rebases. Auto-stash rebases in autorebase git alias. --- .gitconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 53eb0d0..dfd8ce7 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,6 @@ [alias] amend = commit --amend - autosquash = !GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git last-commit)^ - autorebase = -c 'core.editor=true' rebase -i --autosquash + autorebase = -c 'core.editor=true' rebase -i --autosquash --autostash bull = submodule update --remote --init cleaan = clean -fdX cleaaan = clean -fdx -- GitLab