How do you add a project to svn in eclipse?

烂漫一生 提交于 2019-12-30 01:36:29

问题


I managed to download the svn plugin for eclipse helios. I then managed to add a new repository to the drive of my choice. However i cannot see how i know add projects i have already created? Can someone tell me how i go about doing this please.

Thanks


回答1:


Something like:

  • Right-click on your project.
  • Select Team -> Share Project.
  • The Wizard will guide you through to make an Initial Import.
  • 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 future commits.



回答2:


You could also do File -> Import -> SVN -> Checkout projects from SVN...




回答3:


Right click the project root, and choose Team | Share project... ?




回答4:


Install Tortoise svn, right click on the folder that you want to commit, select svn commit, add the files that you want to commit.

P.S. Before committing just check using repo browser if you are committing to right svn location.



来源:https://stackoverflow.com/questions/5716042/how-do-you-add-a-project-to-svn-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!