dotfiles/.config/git/config

31 lines
622 B
Plaintext

[user]
email = fanyx@posteo.net
name = fanyx
[includeIf "gitdir:~/b1/"]
path = ~/b1/.config/git/config
[includeIf "gitdir:~/b1/sap/"]
path = ~/b1/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
[credential]
helper = store