summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-24 21:48:55 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-25 00:20:01 -0800
commit61f5cb7f0d9ea6990f331bd7082630691c88abd2 (patch)
tree7e936e7df0c157628916872bb162b60a6d0ad381 /Documentation
parentgit-svn: exit with status 1 for test failures (diff)
downloadtgif-61f5cb7f0d9ea6990f331bd7082630691c88abd2.tar.xz
git-commit: show --summary after successful commit.
Sometimes people accidentally commit files in wrong mode bits. Show --summary output for the HEAD commit after successful commit as a final sanity check. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/tutorial-2.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt
index 42b6e7d7d2..6389de5ef7 100644
--- a/Documentation/tutorial-2.txt
+++ b/Documentation/tutorial-2.txt
@@ -23,6 +23,7 @@ $ echo 'hello world' > file.txt
$ git add .
$ git commit -a -m "initial commit"
Committing initial tree 92b8b694ffb1675e5975148e1121810081dbdffe
+ create mode 100644 file.txt
$ echo 'hello world!' >file.txt
$ git commit -a -m "add emphasis"
------------------------------------------------