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
SVN check out linux
提问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 svn
utility 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 somerepo
on our file system.
这将从指定的存储库中检出工作副本到somerepo
我们文件系统上的目录。
You may want to print commands, supported by this utility:
您可能想要打印此实用程序支持的命令:
$ svn help
uname -a
output 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 rpm
or 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:-
一些短代码:-
- checkout (co)
- commit (ci)
- copy (cp)
- delete (del, remove,rm)
- diff (di)
- 结帐(合作)
- 提交 (ci)
- 复制(cp)
- 删除(删除,删除,rm)
- 差异(二)