[core] editor = vim [user] name = pyuxiang signingkey = ... [commit] gpgsign = true [gpg] format = ssh [alias] # Common operations diffs = diff --staged diffc = diff HEAD~ HEAD remove = restore --staged uncommit = reset --soft HEAD~ recommit = commit --amend # Get lists of stuff adog = log --all --decorate --oneline --graph branches = branch -a tags = tag -l --sort=v:refname stashes = stash list remotes = remote -v # Optional addw = -c interactive.diffFilter='git diff --color=always --word-diff' add -p diffw = diff --color-words='[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+' [advice] detachedHead = false [push] autoSetupRemote = true