From 2fcffe0a6761612424e9ea9861290ce32edbf5de Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 6 Jun 2023 10:03:09 -0400 Subject: [PATCH] fish: Add git restore abbreviations --- modules/fish-starship/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/fish-starship/default.nix b/modules/fish-starship/default.nix index a0f6fda7..a5189c8f 100644 --- a/modules/fish-starship/default.nix +++ b/modules/fish-starship/default.nix @@ -31,6 +31,8 @@ gm = "git merge"; gp = "git push"; # Push your commits to a remote server gr = "git reset HEAD~"; # Undo the last commit but keep changed files + gR = "git restore"; + gRs = "git restore --staged"; gra = "git remote add"; gre = "git remote --verbose"; # List all remotes grh = "git reset HEAD";