From f1ffffe653a31568d94b7841b2c8c2eb33c03552 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 1 Sep 2025 20:00:27 +0200 Subject: Testing --- linux/home/.gitconfig | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'linux/home') diff --git a/linux/home/.gitconfig b/linux/home/.gitconfig index 8b2ef30..5d4e760 100644 --- a/linux/home/.gitconfig +++ b/linux/home/.gitconfig @@ -1,10 +1,13 @@ [user] - name = srdusr - email = trevorgray@srdusr.com + name = + email = + [init] defaultBranch = main + [color] ui = true + [alias] graph = log --oneline --graph --decorate ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate @@ -21,8 +24,9 @@ [credential "https://github.com"] - helper = - helper = !/usr/bin/gh auth git-credential + helper = + helper = !sh -c 'command -v gh >/dev/null 2>&1 && exec gh auth git-credential || exit 0' + [credential "https://gist.github.com"] - helper = - helper = !/usr/bin/gh auth git-credential + helper = + helper = !sh -c 'command -v gh >/dev/null 2>&1 && exec gh auth git-credential || exit 0' -- cgit v1.2.3