This commit is contained in:
2026-05-04 09:53:30 +02:00
commit c0aefae3fb
11 changed files with 984 additions and 0 deletions

32
git/.gitconfig Normal file
View File

@@ -0,0 +1,32 @@
[user]
name = Your Name
email = you@example.com
[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