dotfiles/.gitconfig

26 lines
940 B
INI
Raw Permalink Normal View History

# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
# name = Louis Vallat
email = louis@louis-vallat.xyz
name = Louis Vallat
signingkey = 0C87282F76E61283
[core]
editor = nvim
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --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(dim white)- %an%C(reset)' --all
lg = !"git lg1"
[init]
defaultBranch = master
[credential]
helper = store
[commit]
gpgsign = true
[includeIf "gitdir:~/Documents/Projects/Git/pro/"]
path = ~/Documents/Projects/Git/pro/.gitconfig
[push]
autoSetupRemote = true