summaryrefslogtreecommitdiffstats
path: root/gitconfig
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-11-03 20:07:38 -0600
committerJesse Luehrs <doy@tozt.net>2009-11-03 20:07:38 -0600
commit52c888ca1751910ef757053606778ae802379d27 (patch)
treede423c5936092536622315aee796adc1705b8827 /gitconfig
parentbb8684e0fed5e0945301ec4801bcf7dfdea15500 (diff)
downloadconf-52c888ca1751910ef757053606778ae802379d27.tar.gz
conf-52c888ca1751910ef757053606778ae802379d27.zip
add git review alias
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index ba716ee..9a509a0 100644
--- a/gitconfig
+++ b/gitconfig
@@ -8,6 +8,7 @@
rebase-branch = !git rebase -i $(git merge-base master HEAD)
diff-branch = !git diff $(git merge-base master HEAD)..HEAD
log-branch = !git log $(git merge-base master HEAD)..HEAD
+ review = "!f() { for rev in $(git rev-list --reverse \"$@\"); do git show $rev; done; }; f"
[github]
user = doy
[color]