Re: A puzzle: reset --hard and hard links
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Jan 20, 2022, 22:20 UTC
- Message-ID
- <YengSfSDzVzvrJ6f@camp.crustytoothpaste.net>
- In-Reply-To
- <CABrKpmCt3zKONLp5ZjV1PxLyfM-koc=tKopKUUpx4nF2n_eo_w@mail.gmail.com>
On 2022-01-20 at 08:59:02, Michael Herrmann wrote:
> Thank you for your replies. Is there a way to tell Git not to sever > hard links as highlighted by my example?
No, there isn't. If you need to deal with files that should be linked and stored in a Git repository, your best bet is symlinks.
-- brian m. carlson (he/him or they/them) Toronto, Ontario, CA