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

[OCLUG-Tech] simple test to see if a git repo is linked/references another local one?

  • Subject: [OCLUG-Tech] simple test to see if a git repo is linked/references another local one?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Mon, 16 May 2016 07:03:14 -0400 (EDT)
  yet another git question -- a while back, i got burned after
stupidly cloning a git repo to another location on the same machine,
totally forgetting about git's handy feature to share objects or
create hardlinks to save space.

  later, without thinking, i deleted the original repo, at which
point, my new "repo" was no longer a repo. D'oh!

  is there a simple command that will display inter-relationships
between a pair of local repos? i can, of course, pop into the ".git"
directory and check file contents, but is there a git subcommand that
will show one git repo's "dependence" on another?

  thanks muchly.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================