From 2d64703f4e4268635e3e058656af5a288ea1f7c3 Mon Sep 17 00:00:00 2001 From: Hendrik Jaeger Date: Tue, 24 Nov 2020 20:48:17 +0100 Subject: [PATCH] Add switch and restore aliases --- .config/git/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 4916f4a..e3c34c5 100644 --- a/.config/git/config +++ b/.config/git/config @@ -106,13 +106,16 @@ rh1 = reset --hard HEAD^ rh2 = reset --hard HEAD^^ + rs = restore + sl = stash list sa = stash apply ss = stash save - s = status --short st = status --short + sw = switch + # grep on filename f = "!git ls-files | grep -i" lc = "!f() { git ll "$1"^.."$1"; }; f" -- 2.39.2