2016-01-13 46 views
0

我有一個項目從文件位置檢出,而不是從SVN檢出。我在代碼中做了一些更改。現在我需要將這個新代碼提交給SVN。但我不知道該怎麼做。我在谷歌搜索,我發現這個問題「How do you add a project to svn in eclipse?」。其中提到像右鍵單擊然後「團隊 - >共享項目」。但在我的月食,我沒有得到「共享項目」選項。請幫助我。我使用Eclipse Indigo和TortoiseSVN。如何使用Eclipse Indigo首次將新項目簽入SVN

感謝

+0

感謝馬里奧塞韋拉的建議。 –

+0

這聽起來像你沒有在Eclipse中安裝SVN。 –

+0

no..svn已安裝... –

回答

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.