Skip to content
Dave Anderson edited this page Aug 8, 2013 · 1 revision
git hash-object Hello.txt
a1123141

Generates the SHA-1 hash of the file

git cat-file -p a1123141
Hello

Prints out the contents of the file

Clone this wiki locally