dotfiles/.config/git/config

34 lines
672 B
Plaintext

[user]
email = fanyx@posteo.net
name = fanyx
[includeIf "gitdir:~/b1/"]
path = ~/b1/.config/git/config
[includeIf "gitdir:~/b1/customer/sap/"]
path = ~/b1/customer/sap/.config/git/config
[alias]
co = checkout
cn = checkout -b
cm = commit -m
l = log --pretty='format:%h %G? %s%d' -n10 --graph --color
fixup = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
tags = tag -l
branches = branch -a
remotes = remote -v
s = status -sb
ss = s -uno
[color]
diff = auto
[init]
defaultBranch = main
[rebase]
autosquash = true
[credential]
helper = store