From cf36566b75cf61e38fde2ff7d2c2650b489f3420 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 14 Sep 2023 19:25:48 -0700 Subject: add a couple of aliases for git --- home/profiles/git.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'home/profiles') 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"; -- cgit 1.4.1