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] [init]
defaultBranch = main defaultBranch = main
[alias] [alias]
logs = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit 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 co = checkout
br = branch br = branch
[user] [user]
useConfigOnly = true useConfigOnly = true
[includeIf "gitdir:~/work/"] [includeIf "gitdir:~/work/"]
path = ~/work/.gitconfig path = ~/work/.gitconfig
[includeIf "gitdir:~/personal/"] [includeIf "gitdir:~/personal/"]
path = ~/personal/.gitconfig path = ~/personal/.gitconfig
[core]
editor = nvim