diff options
| author | Soispha <soispha@vhack.eu> | 2023-10-17 10:01:35 +0200 |
|---|---|---|
| committer | Soispha <soispha@vhack.eu> | 2023-10-17 10:01:35 +0200 |
| commit | e38ef7f25da99af7c98b5da82fa62bd59e003632 (patch) | |
| tree | ba9f20c4f7dd6eaa754a011f84d2e48f29f64d8e | |
| parent | fix(hm/soispha/nvim/plgs/nvim-cmp): Disable diagraphs (diff) | |
| download | 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";
Diffstat (limited to '')
| -rw-r--r-- | hm/soispha/conf/git/default.nix | 2 |
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"; |
