20.7. git show - Show various types of objects
usage: git log [<options>] [<revision-range>] [[--] <path>...]
or: git show [<options>] <object>...
-q, --[no-]quiet suppress diff output
--[no-]source show source
--[no-]use-mailmap use mail map file
--[no-]mailmap alias of --use-mailmap
--clear-decorations clear all previously-defined decoration filters
--[no-]decorate-refs <pattern>
only decorate refs that match <pattern>
--[no-]decorate-refs-exclude <pattern>
do not decorate refs that match <pattern>
--[no-]decorate[=...] decorate options
-L <range:file> trace the evolution of line range <start>,<end> or function :<funcname> in <file>
$ git show
commit f6fda79f2f550ea3b2c1b483371ed5d12499ac35
Author: chen <openunix@163.com>
Date: Sat Nov 1 08:50:45 2008 -0400
add a new file
diff --git a/newfile b/newfile
new file mode 100644
index 0000000..b659464
--- /dev/null
+++ b/newfile
@@ -0,0 +1 @@
+hello world!!!
neo@MacBook-Pro-Neo ~/workspace/devops % git show fda886b0ae1526020c366cea2b747b3ceda18ff6:setup.py