.gitconfig

Mon, 13 Apr 2015 11:14:55 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 13 Apr 2015 11:14:55 -0400
changeset 182
5a18e80bf2ea
parent 180
96dbe6a6008d
child 186
4d168818b573
permissions
-rw-r--r--

add git-up config

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

[ui]
	color = true

[core]
	pager = LESS='FSRX' less

[alias]
	ci        = commit
	record    = !sh -c '(git add -p -- $@ && git commit -v ) || git reset' --
	update    = !git fetch --all --tags --prune && git pull --rebase
	incoming  = "!git remote update -p; git log ..@{u}"
	outgoing  = log @{u}..
	glog      = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
	cleanup   = "!git branch --merged | grep  -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
	ctags     = !~/.git_helpers/ctags

[branch]
	autosetuprebase = always
	autosetupmerge = always

[push]
	default = simple

[rebase]
	stat = true

[include]
	path = ~/.gitconfig.local

# https://github.com/aanand/git-up
# $ gem install git-up
[git-up "rebase"]
	log-hook = "echo \"changes on $1:\"; git log --oneline --decorate $1..$2"

mercurial