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 = {