问题
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