From 4bff3778850399b08b7bddb06db877e4604ffcf4 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 26 Feb 2025 12:23:16 +0300 Subject: =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20gitconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/config | 75 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 27 deletions(-) (limited to 'git') diff --git a/git/config b/git/config index 20c3ed0..e671bf9 100644 --- a/git/config +++ b/git/config @@ -10,12 +10,19 @@ [http] sslVerify = false +[column] + ui = auto + [commit] gpgsign = true verbose = true [branch] autosetuprebase = always + sort = -committerdate + +[tag] + sort = version:refname [help] autocorrect = 1 @@ -38,6 +45,8 @@ [rebase] autoStash = true + autoSquash = true + updateRefs = true [pull] rebase = true @@ -46,41 +55,23 @@ [fetch] prune = true pruneTags = true + all = true output = full +[push] + default = simple + autoSetupRemote = true + followTags = true + +[merge] + conflictstyle = zdiff3 + [core] preloadindex = true excludesFile = ~/.gitignore trustctime = false commitGraph = true -[color] - ui = auto - -[color "diff"] - meta = yellow bold - commit = green bold - frag = magenta bold - old = red bold - new = green bold - whitespace = red reverse - -[color "diff-highlight"] - oldNormal = red bold - oldHighlight = red bold 52 - newNormal = green bold - newHighlight = green bold 22 - -[color "branch"] - current = yellow reverse - local = yellow - remote = green - -[color "status"] - added = yellow - changed = green - untracked = cyan - [diff] indentHeuristic = true algorithm = histogram @@ -91,6 +82,7 @@ [rerere] enabled = true + autoupdate = true [pager] color = true @@ -128,5 +120,34 @@ [include] path = .gitconfig.local + [gpg] format = ssh + +[color] + ui = auto + +[color "diff"] + meta = yellow bold + commit = green bold + frag = magenta bold + old = red bold + new = green bold + whitespace = red reverse + +[color "diff-highlight"] + oldNormal = red bold + oldHighlight = red bold 52 + newNormal = green bold + newHighlight = green bold 22 + +[color "branch"] + current = yellow reverse + local = yellow + remote = green + +[color "status"] + added = yellow + changed = green + untracked = cyan + -- cgit v1.2.3