Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update to latest version from command line

Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version?

I would like to be able to remotely update our development server without having to go into remote desktop etc., as there are often times where all the RD terminals are in use, if it was command line I could do it via SSH, for example.

Cheers, Ed

like image 882
Ed James Avatar asked Oct 07 '09 15:10

Ed James


2 Answers

There is a command-line client for Subversion. You can see the usage options it offers if you type svn help. The one for updating would be simply svn up.

like image 101
slikts Avatar answered Oct 04 '22 14:10

slikts


Simply type svn update [name-of-directory], or cd to that directory and type svn update there.

like image 41
Arthur Reutenauer Avatar answered Oct 04 '22 14:10

Arthur Reutenauer