aboutsummaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-11-05 19:52:48 +0200
committersrdusr <trevorgray@srdusr.com>2023-11-05 19:52:48 +0200
commit93cd70ef5087621b8c7d46186b4a2771b6dbb454 (patch)
treeba87fb519e67e19b695c285d7a6bccd2945eec56 /.gitconfig
parent938cc9c18b476f3d45d0a06bf2a94c860a7aff7b (diff)
downloaddotfiles-93cd70ef5087621b8c7d46186b4a2771b6dbb454.tar.gz
dotfiles-93cd70ef5087621b8c7d46186b4a2771b6dbb454.zip
Github-cli and color ui true
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index e518a0e..8b2ef30 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -3,6 +3,8 @@
email = trevorgray@srdusr.com
[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
@@ -18,3 +20,9 @@
dotfiles = "!f() { git --git-dir=$HOME/.cfg --work-tree=$HOME stashrebase; }; f"
+[credential "https://github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential
+[credential "https://gist.github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential