I have a git repo which has some subdirectories:
~/src
~/src/.git
~/src/mystuff
~/src/otherstuff
Now I want to share otherstuff with a friend, I was planning to do this with bitbucket. They should be able to clone it and push changes in otherstuff but I don't want them to be able to access src, mystuff (nor even see that they exist).
How do I go about this? I almost went into cd ~/src/otherstuff and did git init, git remote add origin ssh://git@bitbucket.org/wim_glenn/... but something doesn't smell right about doing git init again when it's already under version control.