Skip to content

Commit 8f601b3

Browse files
Update git config
1 parent 860adcb commit 8f601b3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

config/git/config

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ editor = nvim
1313
protocol = https
1414
[pull]
1515
rebase = false
16+
[push]
17+
autoSetupRemote = true
1618
[init]
1719
defaultBranch = main
1820
[credential]
1921
helper = store
2022
[maintenance]
21-
repo = /home/cc/dotfiles
22-
repo = /home/cc/.local/share/fonts/NerdFonts
23-
repo = /home/cc/.local/share/fonts/Google
23+
repo = ~/dotfiles
24+
repo = ~/.local/share/fonts/NerdFonts
25+
repo = ~/.local/share/fonts/Google
2426
[pager]
2527
diff = delta
2628
log = delta
@@ -34,3 +36,10 @@ diffFilter = delta --color-only
3436
root = ~/Dev/ghq/
3537
[safe]
3638
directory = /opt/flutter
39+
[credential "https://github.com"]
40+
helper =
41+
helper = !/usr/bin/gh auth git-credential
42+
[credential "https://gist.github.com"]
43+
helper =
44+
helper = !/usr/bin/gh auth git-credential
45+

0 commit comments

Comments
 (0)