What is the difference in the add and svn commit command

add function: to copy the folder where the file to add a new file, and make a logo, it is newly added, the next step will be submitted to submit Subversion repository to go. Simply put, is to join a new file svn, you add after submitting the document to go into the subversion version;
in development, if you create a new file or directory, then you need to put them under version control. Select the file or directory and use TortoiseSVN> Add ... can be.

commit function
SVN submission is made in the workspace changes were submitted, including adding file content changes, the file or directory, delete, rename, move and so on.
When developing the project, you can modify the code of the item in your working copy, you should always did after modify and save changes back to the warehouse project. This process is called "Submit."
Submission is to send all the changes you made to your working copy and stored in a central repository project

 

In the windows below TortoiseSVN you can just commit, and do not need to add,
but you need to add the following in linux, and then commit

; just add .svn which made a mark, and not really uploaded to SVN server
will then commit It will really added to the repository.

Guess you like

Origin www.cnblogs.com/sucretan2010/p/11330296.html