view git/gitconfig @ 454:54bdd1f0f873

Make OS-specific configs for Git.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Nov 2018 09:55:24 -0800
parents f464cf177151
children 2279514d82e4
line wrap: on
line source

[user]
	name = Ludovic Chabant
	email = ludovic@chabant.com

[push]
	default = simple

[alias]
	tags = tag -l
	branches = branch -a
	remotes = remote -v
	lg1 = log --graph --abbrev-commit --decorate --date=relative --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"

[include]
	path = gitconfig-${OS}
	path = gitconfig-local

# vim:ft=gitconfig:ts=2:sw=2