From 9ad10b0b03d6cac258b3e59e8e79d841dd82a80d Mon Sep 17 00:00:00 2001 From: ebkn Date: Thu, 7 Mar 2024 21:00:40 +0900 Subject: [PATCH] feat: update git config --- .gitconfig | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 71d4d6d..19fba6c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,6 +13,9 @@ [url "git@github.com:"] insteadOf = https://github.com/ +[init] + defaultBranch = main + [fetch] prune = true @@ -27,6 +30,20 @@ [diff] external = difft + algorithm = histogram + submodule = log + +[commit] + verbose = true + +[merge] + conflictstyle = zdiff3 + +[rebase] + autosquash = true + +[status] + submoduleSummary = true [color] ui = true @@ -50,10 +67,9 @@ added = yellow changed = green untracked = cyan + [filter "lfs"] required = true clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process -[init] - defaultBranch = main