From c898efcfa1d5290d7245bba5c025933d527a4a90 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 12 Jul 2022 09:25:58 +0200 Subject: [PATCH] feat(git): add `git graph` alias --- home-manager/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/git.nix b/home-manager/git.nix index ec789ca..267e4ec 100644 --- a/home-manager/git.nix +++ b/home-manager/git.nix @@ -33,6 +33,7 @@ aliases = { identity = ''! git config user.name "$(git config user.$1.name)"; git config user.email "$(git config user.$1.email)"; git config user.signingkey "$(git config user.$1.signingkey)"; git config commit.gpgsign "true"; : ''; clone-worktree = ''! mkdir $2; git clone $1 $2/.base; BRANCH=`git -C $2/.base symbolic-ref --short HEAD`; echo "branch is $BRANCH"; git -C $2/.base checkout --detach HEAD; git -C $2/.base worktree add ../$BRANCH; :''; + graph = "log --graph --all"; }; ignores = [