I want to publish a specific subdirectory of a repo via Dropbox, so that directory is publicly downloadable without giving access to the entire repo on Github.
First thing I tried was to symlink from Dropbox to the git project folder (e.g. ln -s /path/to/project/dir ProjectName
from within my Dropbox public folder). Then I realized this would change the files every time I switched branches in the repo locally to do work.
Is there some way I could symlink to the version of the directory on the master
branch, so it will only change the files in Dropbox when master
changes?