I’m in a situation where the repo I’m working with has WordPress in a subdirectory of the repo. As an example, the repo has a folder ‘www’ that has the root of WordPress there. If I clone the repo into the app/public folder, I’ll end up with app/public/www/wordpress
So, I’m looking to point the root of the site (app/public) to that sub WordPress folder (app/public/www/wordpress) so I don’t have to go to: local.site.com/www/wordpress
To be clear, it looks like this can be set in the site.conf file, however, with the site I just setup (first since the update), I don’t seem to have a config folder available with all of the config files.
I was searching for a solution to the same problem. Somehow I got it to work on a couple projects but couldn’t replicate my success. But I think I came up with a solution.
This was my work around (I use GitKraken):
Create Local site
Create Git Repo with Read Me
Change the name of local Public folder to “xpublic”
Clone repo to app (click open when app it highlighted and not opened) and rename Full Path “Public”
Pull
Add .gitignore to Public
Add contents of Public to Public
Commit and Push
Delete xpublic folder
Rock & Roll!
Let me know if this works for you making repos others can work with and cloning repos that exist.