dotfiles/.config/git/config
2026-01-05 15:00:16 -03:00

30 lines
531 B
Text

[user]
name = Jack Halford
[push]
autoSetupRemote = true
[pull]
rebase = true
[alias]
b = branch -vv
c = commit
ca = c --amend
can = ca --no-edit
co = checkout
d = diff --patience
f = fetch --prune
g = grep --ignore-case --heading --break --full-name --line-number
p = push
pf = p --force-with-lease
rem = remote --verbose
rhh = reset --hard HEAD
s = status
sub = submodule
wt = worktree
# signing git-commit and git-rebase
[user]
signingkey = ~/.ssh/id_ed25519.pub
[gpg]
format = ssh
[commit]
gpgSign = true