[user] name = Edwin van den Houdt email = eho@respellion.nl [core] editor = nvim # Treat files with these line endings consistently on Linux autocrlf = input [init] defaultBranch = main [pull] # Fail loudly if a pull would need a merge commit — forces you to decide rebase = false ff = only [push] # Only push the current branch, not all branches default = current [alias] # Short log with graph lg = log --oneline --graph --decorate -20 # Show what changed in the last commit last = show --stat HEAD # Undo the last commit but keep the changes staged undo = reset --soft HEAD~1 [diff] # Show moved lines differently from changed lines colorMoved = default