projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
documentation: add brief mention of cat-file to tutorial part I
[git.git]
/
Documentation
/
tutorial.txt
diff --git
a/Documentation/tutorial.txt
b/Documentation/tutorial.txt
index
5fdeab9
..
039a859
100644
(file)
--- a/
Documentation/tutorial.txt
+++ b/
Documentation/tutorial.txt
@@
-435,12
+435,18
@@
adjust gitk's fonts by holding down the control key while pressing
Finally, most commands that take filenames will optionally allow you
to precede any filename by a commit, to specify a particular version
Finally, most commands that take filenames will optionally allow you
to precede any filename by a commit, to specify a particular version
-
fo
the file:
+
of
the file:
-------------------------------------
$ git diff v2.5:Makefile HEAD:Makefile.in
-------------------------------------
-------------------------------------
$ git diff v2.5:Makefile HEAD:Makefile.in
-------------------------------------
+You can also use "git cat-file -p" to see any such file:
+
+-------------------------------------
+$ git cat-file -p v2.5:Makefile
+-------------------------------------
+
Next Steps
----------
Next Steps
----------