From 9b71074511ffaefa2acc230c86ecc7266d249efb Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 10 Oct 2019 21:13:43 +0200 Subject: [PATCH] [UPDATE][GIT] Re-order configuration file I want the core and the user settings on top, all but the alias sections and sections added by plug-ins to be in alphabetical order, then the aliases, followed by plug-in related settings (such as git-lfs). --- git/.gitconfig | 59 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 24 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index 67675db..1d59f75 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,32 +1,25 @@ [core] excludesfile = ~/.gitignore + +[user] + email = bruno.belanyi@epita.fr + name = Bruno BELANYI + +[blame] + coloring = repeatedLines + markUnblamables = true + markIgnoredLines = true + +[branch] + autosetubrebase = always + [color] ui = auto branch = auto diff = auto interactive = auto status = auto -[commit] - verbose = true -[pull] - rebase = true -[branch] - autosetubrebase = always -[push] - default = simple -[rebase] - autoSquash = true - autoStash = true -[blame] - coloring = repeatedLines - markUnblamables = true - markIgnoredLines = true -[diff] - algorithm = patience -[pager] - diff = /usr/share/git/diff-highlight/diff-highlight | less - log = /usr/share/git/diff-highlight/diff-highlight | less - show = /usr/share/git/diff-highlight/diff-highlight | less + [color "diff"] commit = yellow meta = yellow @@ -34,15 +27,33 @@ old = red new = green whitespace = red reverse + [color "diff-highlight"] oldNormal = red bold oldHighlight = red bold 52 newNormal = green bold newhighlight = green bold 22 -[user] - email = bruno.belanyi@epita.fr - name = Bruno BELANYI +[commit] + verbose = true + +[diff] + algorithm = patience + +[pager] + diff = /usr/share/git/diff-highlight/diff-highlight | less + log = /usr/share/git/diff-highlight/diff-highlight | less + show = /usr/share/git/diff-highlight/diff-highlight | less + +[pull] + rebase = true + +[push] + default = simple + +[rebase] + autoSquash = true + autoStash = true [alias] lol = log --graph --decorate --pretty=oneline --abbrev-commit