繁体   English   中英

如何使用Eclipse Indigo首次将新项目检入SVN

[英]How to check in new project to SVN for first time using Eclipse Indigo

我有一个项目是从文件位置而不是从SVN签出的。 我对代码进行了一些更改。 现在,我需要将此新代码提交给SVN。 但是我不知道该怎么做。 我在google中搜寻,发现了一个问题“ 如何在Eclipse中将项目添加到svn? ”。 其中提到像右键单击,然后“团队->共享项目”。但是在日食中我没有得到“共享项目”选项。 请帮助我。我正在使用Eclipse Indigo和TortoiseSVN。

谢谢

 In this case you have installed Tortoise SVN on client site then go to workspace where project are existing.

Right Click on this project and add the project whoes commit on svn.
after that ok button click.
The project files have been selected to be added to the repository, 
but the change has not yet been committed.  If you add new fileslater,   
you can use this same method to add them to the existing repository

Committing Changes to the Repository:
A commit will enter your changes into the repository.  Changes will only be entered into the repository when you commit, this includes adding and deleting files.
Right click within the folder and select SVN Commit...
Enter notes in the Message section to describe the changes that are being checked in.  You can also select which modified files should be committed.
Click OK when ready. 


Right-click on your project.
Select Team -> Share Project.
The Initial Import wont actually put any code into the repository, just the project details. So you then need to do:
Right-Click Team -> Commit, and the same for all code commits.

暂无
暂无

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

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