Reputation: 11965
I am working on a project involving Android and a remote MySQL DB interacting through PHP. While I have my android files in a directory and uploaded to Github repository, my PHP files are located in the htdocs of my Apache installation folder.
As both parts -the Android files and the PHP ones- are part of the same directory, I was wondering whether it's possible to work with Git + Github, having all of these files in the same repository but when pushing/committing/checking out all these files, each one going to its right directory?
Best regards and thanks!
Upvotes: 0
Views: 76
Reputation: 330
I think you may be able to do this with git-new-workdir. I've never used it, but I found this site which can probably help you get started:
http://kohei.us/2010/11/16/working-with-a-branch-using-git-new-workdir/
Upvotes: 3