Skip to content

Commit 563e575

Browse files
m1mirmaxhelias
authored andcommitted
Re-added the warning about the .git directory.
The re added version warns to not copy it instead of recommending it's deletion.
1 parent 645c384 commit 563e575

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/existing-project.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ It's also possible to use Symfony Docker with existing projects!
44

55
First, [download this skeleton](https://github.com/dunglas/symfony-docker).
66

7-
If you cloned the Git repository you can copy the files from the repository using git and tar:
7+
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.
8+
You can copy the contents of the repository using git and tar. This will not contain `.git` or any uncommited changes.
89

910
git archive --format=tar HEAD | tar -xC my-existing-project/
1011

0 commit comments

Comments
 (0)