Updated 2023-01-30

SVN Checkout Repository


Subversion(SVN) is an open source version control system. It manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed.

SVN Checkout Description

  • Check out a working copy from a repository.
  • The Checkout command is used to copy the files from the SVN repository to the working copy.
  • If we want to access files from the SVN server, then we have to check out it first.
  • The checkout operation creates a working copy of the repository where we can edit, delete, or add contents
  • It can be performed to a file, a project, or a repository.
  • To checkout, we can use either the SVN Protocol or the HTTP (slower).

SVN Checkout Commands

  • Either checkout or co can be used.
  • After ensuring that you are in the directory where you want the repository to be checkouted into, use the following commands:
  • SVN Protocal:
    • svn co <example svn link> [PATH to be copied into]
    • Example:
      • svn co svn://svn.savannah.nongnu.org/test-project/ [Custom Folder Name]
  • HTTP (slower):
    • svn co <URL> [PATH to be copied into]
    • Example:
      • svn co http://svn.savannah.nongnu.org/svn/test-project/ [Custom Folder Name]