is there a "symlink" option for cloning a repo in a separate filesystem?
- From
Robert P. J. Day <rpjday@crashcourse.ca>
- Date
- Sep 23, 2017, 08:22 UTC
- Message-ID
- <alpine.LFD.2.21.1709230418340.22644@localhost.localdomain>
reading "man git-clone", and i understand the mechanics of the local protocol, so that if i run:
$ git clone /path/to/repo
then "files under .git/objects/ directory are hardlinked to save space when possible."
but if the repo is in a separate filesystem, or on an NFS mount, hardlinks clearly won't work, so what happens then? does it default all the way back to regular copies? is there no intermediate symlink feature that would still work? (i suspect i am far from the first person to wonder this.)
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================