如何通过命令行使用 TortoiseSVN? [英] How to use TortoiseSVN via command line?

查看:31
本文介绍了如何通过命令行使用 TortoiseSVN?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 TortoiseSVN 并且想使用命令行 SVN 选项.

I use TortoiseSVN and want to use command line SVN options.

我使用了命令:

svn checkout [-N] [--ignore-externals] [-r rev] URL PATH

并得到以下错误:

'svn' 不被识别为内部或外部命令

'svn' is not recognized as an internal or external command

是不是因为我需要添加一些环境变量?还是不能从命令行使用 TortoiseSVN?

Is it because I need to add some environment variable? Or can't TortoiseSVN be used from the command line?

推荐答案

默认情况下 TortoiseSVN 总是有一个与之关联的 GUI(图形用户界面).但是在安装程序(1.7 及更高版本)上,您可以选择命令行客户端工具"选项,以便您可以从命令行调用 svn 命令(如 svn commit 和 svn update).

By default TortoiseSVN always has a GUI (Graphical User Interface) associated with it. But on the installer (of version 1.7 and later) you can select the "command line client tools" option so you can call svn commands (like svn commit and svn update) from the command line.

这是安装程序中命令行客户端工具"选项的屏幕截图,您需要确保选中它:

Here's a screenshot of the "command line client tools" option in the installer, you need to make sure you select it:

这篇关于如何通过命令行使用 TortoiseSVN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆