开发者

Update to latest version from command line

开发者 https://www.devze.com 2022-12-08 02:37 出处:网络
Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version?

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开发者_如何学C terminals are in use, if it was command line I could do it via SSH, for example.

Cheers, Ed


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.


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


It's called "svn.exe":

svn up .

will update the current folder.

You can download a pre-built Windows command line client without registration from slik or one with registration from collabnet.


svn update/up

svn update or svn up. This command syncs your local sand box with the server. If you have made local changes, it will try and merge any changes on the server with your changes on your machine.

You can view some basic commands here


Have a look at collabnet subversion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号