12Adding Files and Directories

Subversion will notice new files and directories within your working copy, but it won’t automatically add them to the repository. Adding items to the repository is a two-step process; first you tell Subversion you want to add the items to your working copy, and then you commit your changes to actually upload the items to the repository.

This two-step process is important. When you create a new file, it won’t be very useful to anyone else until you add content to the file, but you also need to remember to add the file to Subversion. If you wait until you finish your programming task, you might forget to add the file. With Subversion, you can go ahead and add the file to your working copy right away; this won’t ...

Get Pragmatic Guide to Subversion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.