aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-06-04 22:42:39 +0200
committerMathias Bynens <mathias@qiwi.be>2012-06-04 22:42:39 +0200
commit15d4c9583d66be40a497706134b637e8c1f10ae6 (patch)
tree735161e0008a8b3ed64ab0f0ac57890f4f3e9961 /.gitconfig
parent4daba2f2c078e891aa1183eb7547bcbf23f92aa6 (diff)
downloaddotfiles-15d4c9583d66be40a497706134b637e8c1f10ae6.tar.gz
dotfiles-15d4c9583d66be40a497706134b637e8c1f10ae6.tar.bz2
dotfiles-15d4c9583d66be40a497706134b637e8c1f10ae6.zip
.gitconfig: Show the diff when writing a commit message
Thanks to @miketaylr: http://twitter.com/miketaylr/status/209688450868326400
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index c74ff18..2b47b16 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -10,7 +10,7 @@
# Clone a repository including all submodules
c = clone --recursive
# Commit all changes
- ca = !git add . && git add -u && git commit -a
+ ca = !git add . && git add -u && git commit -av
# Switch to a branch, creating it if necessary
go = checkout -B
# Show verbose output about tags, branches or remotes