aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/git/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix
index 5f5ce100..1ff4350e 100644
--- a/home-manager/config/git/default.nix
+++ b/home-manager/config/git/default.nix
@@ -8,6 +8,8 @@ in {
aliases = {
st = "status";
ds = "diff --staged";
+ di = "diff";
+ rs = "restore --staged";
## Logging:
ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN]' ";