From e57565ada6d7cc9f89126b4e7035b875f63a1204 Mon Sep 17 00:00:00 2001 From: bumpsoo Date: Sun, 21 Jan 2024 03:39:44 +0900 Subject: [PATCH] gitconfig --- .gitconfig | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitconfig b/.gitconfig index f3f8ef7..5c2a5e5 100644 --- a/.gitconfig +++ b/.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