dotfiles/.gitconfig
Louis Vallat a8b78b367b
feat: added autoSetupRemote to git config
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-12-01 11:21:01 +01:00

26 lines
940 B
INI

# 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