.gitconfig

Fri, 15 Nov 2019 22:36:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 15 Nov 2019 22:36:45 -0500
changeset 821
013f5efa8f2d
parent 792
2693c3ccb0da
child 843
7968d9507ddb
permissions
-rw-r--r--

make urxvtcd default autostart

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

[github]
	user = merrilymeredith

[alias]
	alias    = "!git config -l | grep -v 'alias.alias' | perl -ne 's/^alias\\.// and s/=/#= / and print' | column -t -s#"
	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   = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f"

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

[ui]
	color = true

[core]
	pager = LESS=FSRXi less

[gpg]
	program = "gpg2"

[merge]
	tool = vimdiff2

[branch]
	autosetuprebase = always
	autosetupmerge  = always

[commit]
	verbose = true
	gpgsign = true

[diff]
	compactionheuristic = true

[push]
	default = current

[rebase]
	autosquash = true
	stat = true

[rerere]
	enabled = true
	autoupdate = true

[transfer]
        fsckobjects = true

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

# vim: noet:sw=8

mercurial