Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mmickells's avatar

Pulling from Github

When I create a new site on forge it will include a "public" folder inside the site's main directory, just like it always does.

However, for some reason when I add a Github repository it removes the public folder then adds the directories and files from github all before I even click "Deploy Now".

Does anyone have thoughts on what might be causing this to happen?

0 likes
1 reply
aurawindsurfing's avatar

@mmickells That is probably when you create a default site on forge. But you do not need that public folder for anything. When you git pull then everything will be copied from repository so actually it should be empty.

Please or to participate in this conversation.