From 968ca31d188b092d34c9675d8b25872435e20570 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:19:20 +0200 Subject: [PATCH] add aliases for git reset --- home/programs/shell/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/programs/shell/zsh.nix b/home/programs/shell/zsh.nix index 6e5d43d..6ba5ace 100644 --- a/home/programs/shell/zsh.nix +++ b/home/programs/shell/zsh.nix @@ -82,6 +82,8 @@ in { gco = "git checkout"; gcb = "git checkout -b"; gbr = "git branch"; + grs = "git reset HEAD~1"; + grh = "git reset --hard HEAD~1"; gaa = "git add ."; gcm = "git commit -m";