What does the --- /dev/null
signify in by git show commit
output?
This is an addition of a new file, so I assume it's saying that nothing was removed, but why the reference to /dev/null
?
$ git show a395a
commit a395a7bb4abcc606022ac14a07794b2d3c18bd5b
Author: David Banks <BanksySan@googlemail.com>
Date: Sun Apr 12 17:41:08 2015 +0100
My first commit.
diff --git a/test.txt b/test.txt
new file mode 100644
index 0000000..e965047
--- /dev/null
+++ b/test.txt
@@ -0,0 +1 @@
+Hello