From 755b74cd97417563055f0a2cda3f77f3fe806171 Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Sat, 14 Sep 2024 23:19:49 -0700 Subject: [PATCH] git aliases --- modules/software/dev/git.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/software/dev/git.nix b/modules/software/dev/git.nix index 7e3a132..3db2265 100644 --- a/modules/software/dev/git.nix +++ b/modules/software/dev/git.nix @@ -39,6 +39,8 @@ in { aliases = { graph = ''log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%x20(%ce)%n%x20%s%n"''; + amend = ''commit --amend --no-edit''; + amendall = ''commit --amend --no-edit --all''; }; extraConfig = {