From 15d4c9583d66be40a497706134b637e8c1f10ae6 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Mon, 4 Jun 2012 22:42:39 +0200 Subject: .gitconfig: Show the diff when writing a commit message Thanks to @miketaylr: http://twitter.com/miketaylr/status/209688450868326400 --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3