如何使用Eclipse Indigo首次向SVN签入新项目

时间:2016-01-13 09:05:21

标签: java eclipse svn tortoisesvn

我有一个项目,我从文件位置检出,而不是从SVN检出。我在代码中做了一些更改。现在我需要将这个新代码提交给SVN。但我不知道该怎么做。我在google中搜索过,我发现了这个问题“How do you add a project to svn in eclipse?”。其中提到像右键单击然后“团队 - >共享项目”。但在我的日食中我没有得到“共享项目”选项。请帮帮我。我正在使用Eclipse Indigo和TortoiseSVN。

由于

1 个答案:

答案 0 :(得分:0)

 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.