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

GodziLaravel's avatar

Docker: what directories / files can I put in .gitignore

Hello ,

I cretaed a fresh docker laravel project, I'm wondering what directrories and files I can put them in .gitingore ?

git status
On branch 8.x
Your branch is ahead of 'origin/8.x' by 1 commit.
  (use "git push" to publish your local commits)

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .idea/
        composer.lock
        package-lock.json
        public/css/
        public/js/
        public/mix-manifest.json

nothing added to commit but untracked files present (use "git add" to track)

0 likes
0 replies

Please or to participate in this conversation.