yet another ostensibly simple git question -- for the purpose of
demonstrating what happens in the object store, i want to show the
effect of adding a single file to a freshly-created repository.
so after "git init", i'd create a single file, add it, then commit,
at which point my object store will contain three objects:
* blob
* tree
* commit
and i can demonstrate that with:
$ git rev-list --all --objects
ee059991a18f2ce363883113675de2aa0018ed0f
73f78287850c51fab57aaee1e6cbd1bb7cb295b2
667760e6c1c4aeaf8dbb44e93bf548401ee45f35 passwd
$
is there some variation of a git plumbing command that will, a little
more verbosely, show the types and relationships between these three
objects?
i'm looking at "rev-list" and "for-each-ref" and others, and i'm not
seeing exactly what i'm after. can someone suggest a moderately simply
command that would demonstrate how those three objects are related so
students would immediately see what happened in the object store?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================