about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-17 10:01:35 +0200
committerSoispha <soispha@vhack.eu>2023-10-17 10:01:35 +0200
commite38ef7f25da99af7c98b5da82fa62bd59e003632 (patch)
treeba9f20c4f7dd6eaa754a011f84d2e48f29f64d8e
parentfix(hm/soispha/nvim/plgs/nvim-cmp): Disable diagraphs (diff)
downloadnixos-config-e38ef7f25da99af7c98b5da82fa62bd59e003632.tar.gz
nixos-config-e38ef7f25da99af7c98b5da82fa62bd59e003632.zip
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";
-rw-r--r--hm/soispha/conf/git/default.nix2
1 files changed, 2 insertions, 0 deletions
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";