SVN checkout operation

We have created a repository runoob01, the URL is svn://192.168.0.1/runoob01, and the svn user user01 has read and write permissions.

We can check out the repository on the client through this URL.

svn checkout http://svn.server.com/svn/project_repo --username=user01 The above command will produce the following result:

root@runoob:~/svn# svn checkout svn://192.168.0.1/runoob01 --username=user01
A    runoob01/trunk
A    runoob01/branches
A    runoob01/tags
Checked out revision 1.

After the checkout is successful, a copy directory of runoob01 will be generated in the current directory. View checked out content

root@runoob:~/svn# ll runoob01/
total 24
drwxr-xr-x 6 root root 4096 Jul 21 19:19 ./
drwxr-xr-x 3 root root 4096 Jul 21 19:10 ../
drwxr-xr-x 2 root root 4096 Jul 21 19:19 branches/
drwxr-xr-x 4 root root 4096 Jul 21 19:19 .svn/
drwxr-xr-x 2 root root 4096 Jul 21 19:19 tags/
drwxr-xr-x 2 root root 4096 Jul 21 19:19 trunk/

You want to view more information about the repository, execute the info command.

Guess you like

Origin blog.csdn.net/qq_21743659/article/details/132270780