SVN 看看 linux

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4804529/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 00:14:01  来源:igfitidea点击:

SVN check out linux

linuxsvn

提问by Mustafa

My uname -a reads :

我的 uname -a 读作:

root@edu [~]# uname -a
Linux edu.educationlinked.com 2.6.18-028stab068.3 #1 SMP Tue Feb 16 20:21:42 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux

I am not sure which Linux OS is this?

我不确定这是哪个 Linux 操作系统?

I already have a repository hosted at a free repository and i use Tortoise SVN on windows as the client. I need to do the check out etc on a Linux machine mentioned above.

我已经在免费存储库中托管了一个存储库,并且我在 Windows 上使用 Tortoise SVN 作为客户端。我需要在上面提到的 Linux 机器上进行结账等。

I have read and read and got confused about what to use? Can someone please help me.

我读了又读,对使用什么感到困惑?有人可以帮帮我吗。

采纳答案by Yasir Arsanukaev

There should be svnutility on you box, if installed:

svn如果安装了,您的盒子上应该有实用程序:

$ svn checkout http://example.com/svn/somerepo somerepo

This will check out a working copy from a specified repository to a directory somerepoon our file system.

这将从指定的存储库中检出工作副本到somerepo我们文件系统上的目录。

You may want to print commands, supported by this utility:

您可能想要打印此实用程序支持的命令:

$ svn help

uname -aoutput in your question is identical to one, used by Parallels Virtuozzo Containers for Linux 4.0 kernel, which is based on Red Hat 5 kernel, thus your friends are rpmor the following command:

uname -a您问题中的输出与基于 Red Hat 5 内核的Parallels Virtuozzo Containers for Linux 4.0 kernel使用的输出相同,因此您的朋友rpm或以下命令:

$ sudo yum install subversion

回答by Arshid KV

You can use checkoutor co

您可以使用结帐合作

$ svn co http://example.com/svn/app-name directory-name

Some short codes:-

一些短代码:-

  1. checkout (co)
  2. commit (ci)
  3. copy (cp)
  4. delete (del, remove,rm)
  5. diff (di)
  1. 结帐(合作)
  2. 提交 (ci)
  3. 复制(cp)
  4. 删除(删除,删除,rm)
  5. 差异(二)