diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-01 20:00:27 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-01 20:00:27 +0200 |
| commit | f1ffffe653a31568d94b7841b2c8c2eb33c03552 (patch) | |
| tree | cac3e73fbbaf862b6a4afbceae8c44c93fdd1381 | |
| parent | cfc974504629823919f05e5d52dd18c46a0bdf07 (diff) | |
| download | dotfiles-f1ffffe653a31568d94b7841b2c8c2eb33c03552.tar.gz dotfiles-f1ffffe653a31568d94b7841b2c8c2eb33c03552.zip | |
Testing
| -rw-r--r-- | linux/home/.gitconfig | 16 |
1 files changed, 10 insertions, 6 deletions
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' |
