简体   繁体   English

通过命令行更新本地SVN存储库

[英]Update local SVN repository via command line

I have a local repository for an SVN hosted online. 我有一个在线托管的SVN本地存储库。 I checked it out using Versions (Mac OSX). 我使用版本(Mac OSX)检查了它。 I'd now like to update this repository via command line, but I'm not sure how to link the svn command line to the already checked out repo. 我现在想通过命令行更新此存储库,但我不确定如何将svn命令行链接到已检出的存储库。

You don't have to link the command line to your working copy. 您不必将命令行链接到工作副本。 Any Working Copy created by any SVN client can be operated through command line ( unless the versions are too different or something ) 任何SVN客户端创建的任何工作副本都可以通过命令行操作(除非版本太不同或者某些东西)

Just cd in to the working copy and do svn up to update your working copy. 只需插入工作副本并执行svn up即可更新您的工作副本。

If the command is done by a "SVN User", then type svn <action> <arguments> . 如果命令由“SVN用户”完成,则键入svn <action> <arguments> Note that svn user commands are done in directories which are not under the svn repository (and thus may be done on any machine which has checked out the repository). 请注意,svn用户命令是在不在svn存储库下的目录中完成的(因此可以在已检出存储库的任何计算机上完成)。

If you find that a svn command line is not available to you on some machine, you may need to install svn client software. 如果您发现某台计算机上没有svn命令行,则可能需要安装svn客户端软件。 There are many different svn client software offerings, including command line offerings, plug-ins to windowing desktops (for menu driven command submission), and plug-ins to integrated development environments (Eclipse, NetBeans, etc.) 有许多不同的svn客户端软件产品,包括命令行产品,窗口桌面插件(用于菜单驱动的命令提交),以及集成开发环境(Eclipse,NetBeans等)的插件

If the command is done by an SVN Administrator, then type the command svnadmin <action> <arguments> . 如果命令由SVN管理员完成,则键入命令svnadmin <action> <arguments> Note that svnadmin commands are done in directories which are under the svn repository (and thus must be done on the svn server machine). 请注意,svnadmin命令在svn存储库下的目录中完成(因此必须在svn服务器计算机上完成)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM