Skip to content

Commit

Permalink
Re-added the warning about the .git directory.
Browse files Browse the repository at this point in the history
The re added version warns to not copy it instead of recommending it's
deletion.
  • Loading branch information
m1mir authored and maxhelias committed Mar 28, 2024
1 parent 645c384 commit 563e575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/existing-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 563e575

Please sign in to comment.