如何使用SourceForge?
好的,我想使用 SourceForge 来托管我的程序源代码,但我不知道如何使用 SVN 或 CVS。我尝试查看教程,但它们似乎都面向检索源代码,而不是添加源代码。截至目前,存储库是空的(那里没有源),那么如何添加源文件?谢谢。
Okay, I want to use SourceForge to host my source for a program, but I have no idea how to use SVN or CVS. I tried looking at tutorials, but they all seem to be oriented on retrieving source, not adding to it. As of now, the repository is empty (no source there), so how do I add my source files? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我的建议是使用图形化 SVN 客户端,例如 TortoiseSVN,转到 >> “Repo Browser”并输入以下内容,
然后系统会提示您输入用户名和密码。
希望有帮助!
My Suggestion is to use a graphical SVN-Client like TortoiseSVN, go to >> "Repo Browser" and enter the following
You'll then be prompted of your username and passcode.
Hope that helped!
用于
将文件夹导入到存储库中(启动一个)。
您还可以使用
将文件和文件夹添加到存储库然后使用,
但最简单的方法是使用 GUI 应用程序,例如 Windows 上的 tortoiseSVN 和 OS X 上的 svnX(如果您不熟悉 SVN)。
use
to import a folder into your repository (to start one).
you can also use
to add files and folders to repository then use
But the easiest way would be to use a GUI application, like tortoiseSVN on windows and svnX on OS X if you're not familiar with SVN.
假设我想将名为 file 的文件上传到 url url,您可以使用上面的命令。
SVN 帮助
第一次导入或签入时,您需要执行以下操作: username username 和/或不是 --password password,您可以删除密码,并在建立连接后提示您输入密码(如果您选择)。
如果您不使用 -m,您将进入这个粗糙的纳米屏幕以寻求评论,因此最好记住添加 -m。
So lets say I wanted to to upload a file called file, to a url url, you would use the above command.
SVN help
The first time you import or check in, you will need to do --username username and/or not --password password, you can drop password, and be prompted for it after you have established connection if you so choose.
If you dont use -m you will go into this gnarly to navigate nano screen asking for a comment, so it is best to remember to add -m.
由于您是 Subversion 的新手,我强烈建议您阅读 SVNBook 以了解更多信息一般颠覆和版本控制。这是一本必读参考书,它将帮助您了解常见的版本控制实践和常见的工作流程。事实上,SVNBook 是 SVN 的圣经,是 Subversion 管理员和用户的必读之作。
作为 Subversion 新手用户,您可能会发现对您有帮助的章节:
Since you are new to Subversion, I strongly advise you to read SVNBook to learn more about Subversion and version-control in general. It is the MUST READ reference book which will help you to understand common version-control practices and the common workflow. SVNBook is the Bible of SVN and must-read for Subversion administrators and users, in fact.
Chapters you may find helpful as a novice Subversion user: