home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] is there a recipe to display the git object store hierarchically?

gitk --all comes to mind
or
git log --graph --decorate --all

On 9/23/2016 4:38 AM, Robert P. J. Day wrote:
> 
>   i'm aware of things like "git cat-file -p" and so on, but is there
> some magic incantation to display the git object store
> graphically/hierarchically?
> 
>   when i teach git, one of the first demos is to create a new repo,
> add two files, stage and commit, at which point one points out that
> that created 4 objects in the object store:
> 
>   * 2 blobs
>   * 1 tree
>   * 1 commit
> 
> but it would be useful to be able to *see* the underlying structure so
> the class can be truly convinced as to what just happened.
> 
>   is there some way to do that?
> 
> rday
>