# user info is in other file [include] path = ~/.gitconfig.userinfo [core] editor = nvim [push] default = current [pull] rebase = false [color] ui = auto status = auto diff = auto branch = auto [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [pretty] custom = "%C(auto)%h %C(magenta)%ai %C(cyan)%aN %C(brightmagenta)(%ar) %C(auto)%D%n%s%n" # │ │ │ │ │ └─ commit message # │ │ │ │ └─ decorations (branch n stuff) # │ │ │ └─ author relative date # │ │ └─ author name # │ └─ author date (ISO) # └─ hash (abbreviated) # # https://git-scm.com/docs/pretty-formats [alias] l = log --graph --pretty=custom ls = l --stat [init] defaultBranch = master # delta [core] pager = delta [interactive] diffFilter = delta --color-only [delta] navigate = true # use n and N to move between diff sections light = false line-numbers = true side-by-side = true [merge] conflictstyle = diff3 [diff] colorMoved = default