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

Re: [OCLUG-Tech] any git command to recursively display a commit in the object store?

  • Subject: Re: [OCLUG-Tech] any git command to recursively display a commit in the object store?
  • From: Scott Murphy <ovsage [ at ] gmail [ dot ] com>
  • Date: Sun, 16 Apr 2017 10:20:33 -0400
This might be what you are looking for. You still have to do some work to describe what you want, however this might be the solution:
http://gitgraphjs.com/ <http://gitgraphjs.com/>

> On Apr 16, 2017, at 4:56 AM, Robert P. J. Day <rpjday [ at ] crashcourse [ dot ] ca> wrote:
> 
> 
>  currently updating my git courseware and not sure if i asked this
> before (probably did), but if i create a new git repo with a couple
> files as a class demo, is there a single git command that will display
> the fact that that new repo has 4 objects:
> 
>  * 2 new blobs
>  * new tree
>  * new commit
> 
> and show the relationship between them?
> 
>  i know i can use variations of "git cat-file", but AIUI, i would
> need to do that for each object. is there some command (or cool alias)
> that would show in a more graphical form the recursive structure of a
> given commit so students could immediately see the commit/tree/blob
> relationships?
> 
> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                        http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux