aboutsummaryrefslogblamecommitdiffstats
path: root/.gitconfig
blob: 3096768dd52c3af0210b577fcb7e8d9a00d07fcf (plain) (tree)
1
2
3
4
5
6





                                                                                                                                                                                   
[user]
	email = thabogre@gmail.com
[alias]
	conflicts = !git ls-files -u | cut -f 2 | sort -u
	pr = "!f() { git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
	pr-clean = "!git checkout master ; git for-each-ref refs/heads/pr/* --format=\"%(refname)\" | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"