154
edits
Changes
→Basic Actions
=== Basic Actions ===
==== checkout ====
To '''checkout''' is to copy the code form from a repository server to a versioned directory on the client, so that you can start working on itthe code.==== branch ====To '''branch''' is to copy a directory (like trunk) into another directory on the repository server.: Note that after '''branch'''ing the code is copied on '''the repository''' itself and not to the local(client) machine. To work on the '''branch'''ed (copied) code, you must '''checkout''' the directory after the '''branch'''ing.
==== add ====
To '''add''' is to flag a non-versioned file or directory to be added to the repository server at next '''commit'''
==== commit ====
To '''commit''' is to apply (or that is, to copy) your modifications and additions to the repository server.==== branch ===='''branch''' is to copy a directory (like trunk) into another directory on the repository server.: Note that after '''braching''' the code is copied on '''the repository''' and not the local(client) machine. To actually work on the branched (copied) code you must '''checkout''' the directory after branching.
==== merge ====
'''merge''' is the opposite of '''branch'''.
: To '''"merge"''' merges is to merge back a branched directory, back to the original directory ; that is, to apply the modifications and additions to the branched direcotry'''branch'''ed directory.==== export ====To '''export''' is to copy the whole or part of a repository to a non-versioned directory on the client machine: You '''export''' when you want either to package the project, to make it ready for production, or to copy a piece of work from one repository to another repository.==== import ====To '''import''' is to copy a non-versioned work (directory) to a repository server.: note that in this case the imported code is on the server and is still NOT versioned on the client machine; to start working on an imported directory, you should first '''checkout''' the directory from the repository to the client machine.
== Starting the Project On SVN ==