Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Git specific instuctions for copying the files to an existing project #594

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

m1mir
Copy link

@m1mir m1mir commented Mar 27, 2024

With the new instructions the copying to an existing project doesn't destroy the cloned symfony-docker repository.

With the new instructions the copying to an existing project doesn't
destoy the cloned symfony-docker repository.
Then, copy the Docker-related files from the skeleton to your existing project:
If you cloned the Git repository you can copy the files from the repository using git and tar:

git archive --format=tar HEAD | tar -xC my-existing-project/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's good tip, but I think we should always explain why it's necessary to remove the .git directory to avoid conflicts

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re added the warning with slight modification.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Thanks @m1mir

m1mir added 2 commits March 27, 2024 16:25
The re added version warns to not copy it instead of recommending it's
deletion.
@maxhelias maxhelias merged commit 32dadc1 into dunglas:main Mar 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants