From 454b8fd43b6c6b870d7bbab4fe54d524dcefb3d0 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 17 Sep 2017 11:33:05 +0300 Subject: [PATCH] Fully automated autosqaush Git alias. --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 2c4accd..4917d0a 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,6 +1,6 @@ [alias] amend = commit --amend - autosquash = !GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash + autosquash = !GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $(git last-commit)^ bull = submodule update --remote --init cleaan = clean -fdX cleaaan = clean -fdx -- GitLab