X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.gitconfig;h=fcdde4e5b0e56f603d4ca7e072a972b99a8c0da2;hb=35d870582ab067b6bda60b9c6a19fa583809c9ca;hp=0581c556b3b00165fe4ccc8f6f969e2a3c94f4c1;hpb=cd3d109b75ec5bfbe0bcf0f606159b0049611b10;p=dotfiles.git diff --git a/.gitconfig b/.gitconfig index 0581c55..fcdde4e 100644 --- a/.gitconfig +++ b/.gitconfig @@ -148,6 +148,8 @@ dump = cat-file -p file = cat-file -t type = cat-file -t + ff = merge --ff-only + git = !git l1 = log --decorate --oneline l5 = log --decorate -5 ld = log --decorate @@ -166,6 +168,7 @@ remotes = remote --verbose #root = !exec pwd root = rev-parse --show-toplevel + status = status --no-short st = status --short stb = status --short --branch sd = show --decorate @@ -178,11 +181,18 @@ [color] ui = auto +[diff] + indentHeuristic = true + +[grep] + fallbackToNoIndex = true + [include] path = ~/lib/config/git/light_bg [log] abbrevCommit = true + #mailmap = true [merge] tool = vimdiff @@ -194,8 +204,13 @@ [push] default = simple + followTags = true + recurseSubmodules = check [receive] + #denyCurrentBranch = updateInstead + denyDeleteCurrent = true + #denyDeletes = true denyNonFastForwards = true [web]