From d4a2c81fe0901f2a8ea6eff56038f9d4ab95c069 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Tue, 14 Nov 2023 09:25:47 +0200 Subject: [PATCH] add unstage alias --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index bc96b52..21f36ab 100644 --- a/.gitconfig +++ b/.gitconfig @@ -23,6 +23,7 @@ undo = reset --soft HEAD^ squash = rebase --autostash -i megasquash = "!f() { git rebase --autostash -i `git merge-base --fork-point HEAD master`; }; f" + unstage = restore --staged # various pretty loggers from various places l = log --pretty=oneline --abbrev-commit