Please look at my answer here: Git and hard links
I tried to put the same script in pre-commit
, but somehow the hard links are not being created.
The script is indeed executed (i.e. an echo
inside it proves that).
I tried to run the same ln
manually in repository root folder and same command works this way.
Thanks for your attention.