Files
dotfiles/git/.gitconfig
J. Fernando Sánchez 6cc37ee562 Add git config and several pkgs
I've added the config to symlink my dotfiles .git like I used to do with
stow.
2026-02-05 10:44:47 +01:00

32 lines
887 B
INI

[user]
name = J. Fernando Sánchez
email = j@sanchezrada.es
[diff]
tool = delta
[alias]
d = difftool
[includeIf "gitdir:~/git/work/tcs"]
path = ~/.config/git/tcs.config
[include]
path = ~/.gitconfig_secret
[color]
ui = true
[alias]
lg1 = log --graph --all --format=format:'%C(yellow)%h%C(reset) - %C(green)(%ad)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
lg = !"git lg1"
[core]
excludesfile = ~/.gitignore_global
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false