Sasha
Sasha

Reputation: 8705

SVN - copy from repository to the live server

How can I copy all files from the repository to the live server (without the parent folder)?

I have repository like this:

Dev_Folder
    ..
    .htaccess
    app/
    composer.json
    composer.lock
    files/
    index.php
    logs/
    robots.txt
    test.php
    vendor/

When I use **svn checkout host/Dev_Folder/ ** the directory is being copied to the designeted folder (I am doing the checkout in the folder in which I want files to be copied). Is there a way just to copy the files?

Upvotes: 0

Views: 74

Answers (1)

Mykola Gurov
Mykola Gurov

Reputation: 8685

svn checkout host/Dev_Folder/ . ?

Upvotes: 2

Related Questions