From e38ef7f25da99af7c98b5da82fa62bd59e003632 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 17 Oct 2023 10:01:35 +0200 Subject: feat(hm/conf/soispha/git): Add alias for redoing a failed commit diff --git a/hm/soispha/conf/git/default.nix b/hm/soispha/conf/git/default.nix index e6c4c01..728e40d 100644 --- a/hm/soispha/conf/git/default.nix +++ b/hm/soispha/conf/git/default.nix @@ -7,6 +7,8 @@ in { #package = pkgs.gitAndTools.gitFull; # TODO: for git send-email support aliases = { cm = "commit --verbose"; + cmr = "commit --file .git/COMMIT_EDITMSG --edit --verbose"; + st = "status"; ds = "diff --staged"; --- hm/soispha/conf/git/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hm/soispha/conf/git/default.nix b/hm/soispha/conf/git/default.nix index e6c4c01e..728e40d9 100644 --- a/hm/soispha/conf/git/default.nix +++ b/hm/soispha/conf/git/default.nix @@ -7,6 +7,8 @@ in { #package = pkgs.gitAndTools.gitFull; # TODO: for git send-email support aliases = { cm = "commit --verbose"; + cmr = "commit --file .git/COMMIT_EDITMSG --edit --verbose"; + st = "status"; ds = "diff --staged"; -- cgit 1.4.1