.gitconfig

Fri, 14 Apr 2017 14:44:06 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 14 Apr 2017 14:44:06 -0400
changeset 543
f033acea6b1e
parent 542
c78ff4777bd9
child 548
e34f183fbd55
permissions
-rw-r--r--

restrict umask

[user]
	email = mhoward@roomag.org
	name  = Meredith Howard

[transfer]
        fsckobjects = true

[fsck]
	badTimezone = ignore

[ui]
	color = true

[core]
	pager = LESS='FSRXi' less

[diff]
	compactionheuristic = true

[alias]
	ci       = commit
	rec      = commit -p
	unrec    = checkout --patch
	amend    = commit -p --amend
	st       = status -sb
	co       = checkout
	br       = branch
	staged   = diff --cached
	unstage  = reset HEAD --
	rollback = reset --soft ^HEAD
	up       = pull -r --prune
	update   = "!git remote update -p && git merge --ff-only --stat @{u}"
	in       = "!git remote update -p; git log --pretty=onelinecustom ..@{u}"
	out      = "!git log --pretty=onelinecustom @{u}.."
	new      = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
	cleanup  = "!git branch --merged | grep  -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
	glog     = log --graph --pretty=onelinecustom
	recent   = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' -

[pretty]
	onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset

[branch]
	autosetuprebase = always
	autosetupmerge  = always

[push]
	default = current

[rebase]
	stat = true

[commit]
	verbose = true
	gpgsign = true

# include.path is available in git 1.7.10 and later
[include]
	path = ~/.gitconfig.local

# vim: noet:sw=8

mercurial