gitconfig
This commit is contained in:
parent
ee3d934dd1
commit
e57565ada6
1 changed files with 10 additions and 7 deletions
17
.gitconfig
17
.gitconfig
|
|
@ -1,16 +1,19 @@
|
|||
[init]
|
||||
defaultBranch = main
|
||||
defaultBranch = main
|
||||
|
||||
[alias]
|
||||
logs = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
co = checkout
|
||||
br = branch
|
||||
logs = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
co = checkout
|
||||
br = branch
|
||||
|
||||
[user]
|
||||
useConfigOnly = true
|
||||
useConfigOnly = true
|
||||
|
||||
[includeIf "gitdir:~/work/"]
|
||||
path = ~/work/.gitconfig
|
||||
path = ~/work/.gitconfig
|
||||
|
||||
[includeIf "gitdir:~/personal/"]
|
||||
path = ~/personal/.gitconfig
|
||||
path = ~/personal/.gitconfig
|
||||
|
||||
[core]
|
||||
editor = nvim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue