I have some project, which I share with other people. It is stored and distributed in git.
It should contain links to directories outside the git archive, but inside th user home, where some common libraries are, like this:
Arduino -> /home/gilhad/GitHub/arduino-1.8.1
Arduino-Makefile -> /home/gilhad/GitHub/Arduino-Makefile
Bare-Arduino-Project -> /home/gilhad/GitHub/Bare-Arduino-Project
It works for me (gilhad), but does not work for my friend. I would like to make links like this:
Arduino -> ~/GitHub/arduino-1.8.1
Arduino-Makefile -> ~/GitHub/Arduino-Makefile
Bare-Arduino-Project -> ~/GitHub/Bare-Arduino-Project
which would effectively resolve to the previous on my account and to following on friends account
Arduino -> /home/friend/GitHub/arduino-1.8.1
Arduino-Makefile -> /home/friend/GitHub/Arduino-Makefile
Bare-Arduino-Project -> /home/friend/GitHub/Bare-Arduino-Project
(regardless where this git/actual directory is actually placed , so ../../../GitHub/.... as target would not work, as the project can be placed in ~/tmp as well as in ~/my/special/folder/for/projects, while GitHub is always placed in users home direcory (/home/gilhad or /home/friend or what ~ points to)