about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-09-14 19:25:48 -0700
committerFranck Cuny <franck@fcuny.net>2023-11-06 17:05:04 -0800
commitcf36566b75cf61e38fde2ff7d2c2650b489f3420 (patch)
treebb183c8b4e758637a645b065323c832b360c8559 /home/profiles
parentadd 1password key and format some files (diff)
downloadworld-cf36566b75cf61e38fde2ff7d2c2650b489f3420.tar.gz
add a couple of aliases for git
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/git.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/home/profiles/git.nix b/home/profiles/git.nix
index b242fb8..f26b3eb 100644
--- a/home/profiles/git.nix
+++ b/home/profiles/git.nix
@@ -17,6 +17,11 @@ in
       signByDefault = true;
     };
 
+    aliases = {
+      amend = "commit --amend";
+      ll = "log --pretty=\"format:%h %G? %aN  %s\"";
+    };
+
     extraConfig = {
       core.whitespace = "trailing-space,space-before-tab";
       color.ui = "true";