view git/gitconfig @ 493:16cac382ca7c

Set vim as editor for git.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 12 Nov 2021 10:49:22 -0800
parents 2279514d82e4
children
line wrap: on
line source

[core]
	editor = vim

[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