Normalize git config

This commit is contained in:
fanyx 2023-09-09 10:28:47 +02:00
parent becb1ceca1
commit 4db0fc3f10
1 changed files with 8 additions and 7 deletions

View File

@ -3,14 +3,15 @@
name = fanyx
[includeIf "gitdir:~/b1/"]
path = ~/b1/.config/git/config
path = ~/b1/.config/git/config
[includeIf "gitdir:~/b1/sap/"]
path = ~/b1/sap/.config/git/config
path = ~/b1/sap/.config/git/config
[alias]
co = checkout
cn = checkout -b
co = checkout
cn = checkout -b
cm = commit -m
l = log --pretty='format:%h %G? %s%d' -n20 --graph --color
tags = tag -l
branches = branch -a
@ -19,10 +20,10 @@
ss = s -uno
[color]
diff = auto
diff = auto
[init]
defaultBranch = main
defaultBranch = main
[credential]
helper = store
helper = store