diff --git a/docs/existing-project.md b/docs/existing-project.md index 6d0353987..2e94121eb 100644 --- a/docs/existing-project.md +++ b/docs/existing-project.md @@ -4,7 +4,8 @@ It's also possible to use Symfony Docker with existing projects! First, [download this skeleton](https://github.com/dunglas/symfony-docker). -If you cloned the Git repository you can copy the files from the repository using git and tar: +If you cloned the Git repository, be sure to not copy the `.git` directory to prevent conflicts with the `.git` directory already in your existing project. +You can copy the contents of the repository using git and tar. This will not contain `.git` or any uncommited changes. git archive --format=tar HEAD | tar -xC my-existing-project/