Level 14
Does that at least work for the storage/app/public/ folder? Does it show up in the commit? Also is layouts a directory?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there,
i have a Problem, that want to use some Folders in the storage Path to push them to git. I use it for the deployment Process in forge, so git push and force doesn't work when forge pull the last commit.
In storage/app/.gitignore i add '!public/' and in storage/app/public/.gititgnore i add '!layouts'
But it doesn't work, the files are not in the commit. What can i do?
Cheers Kerstel
Please or to participate in this conversation.