gitconfig

This commit is contained in:
bumpsoo 2024-01-21 03:39:44 +09:00
parent ee3d934dd1
commit e57565ada6

View file

@ -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