Ahmed Memon
Ahmed Memon

Reputation: 319

SVN to Production quality code

Hi I have SVN repo that I frequently use for change management.

However after each fix, I have to upload the code to the production server.

At the moment, I upload files by files so that the .svn directory do not uploaded.

Is there a way to upload the all code from svn repo to server without .svn directories, the easier way?

Upvotes: 1

Views: 488

Answers (1)

Daff
Daff

Reputation: 44215

Yes, the command is

svn export [URL]

This exports your svn repository without the .svn meta information. If you want to automatically deploy it to a test/production server you might have a look at the post-commit hooks.

Upvotes: 5

Related Questions