Current location - Health Preservation Learning Network - Slimming men and women - Using svnlinux tutorial svnlinux using
Using svnlinux tutorial svnlinux using
Linux configures the existing folder as the specified directory of svn?

To realize this idea, the key principle is to turn the default folder into a working copy under the control of svn, and then automatically update this working copy through the post-commit hook. Several key operations:

1. You need to install svn server on the server, start svn service and create svn library;

2. Convert the current default folder into a working copy of the newly built svn library (the folder where the client stores data). Specific operations: import the contents of the current default folder into the newly-built svn library, then clear the default, and then check out the contents of the svn library to the default;

3. Use the post-submission hook of svn (the SVN server will automatically call the hook after each successful submission) and edit the hook. The content is svnupdate folder default, so that the default folder will be automatically updated after each successful submission;

4. Check out the svn library on your own computer, and then submit it locally, and then the server will automatically update the default folder.

How to quickly establish svn+ssh on Linux and windows?

1: Samba server is adopted, and a Samba server is set under Linux, so that windows can access Samba service directory on Linux; 2.Vmware provides the function of sharefolder, and you can set a * * * shared directory on Windows. You can find the * * * shared directory in /mnt/hgfs of VMware.

How to roll back to the previous version of the command in svn?

In this case, the svnmerge command is used for rollback. The operation process of rollback is as follows:

1, make sure we get the latest code: svnupdate assumes that the latest version number is 28.

2. Then find out the exact version number to be rolled back: svnlog assumes that the version number to be rolled back is 25 according to the svnlog log, and the things here can be files, directories or the whole project. If you want to know more, you can use svndiff-r28:25.

3. Roll back to version number 25: SVN merge -R28: 25 or something. To be on the safe side, reconfirm the result of rollback: svndiff found it correct and submitted it.

4. Commit rollback: SVN commit-m "restores the revised version from 28th to 25th,

How does the terminal of LINUX system access the external network under the education network?

Linux accesses the external network under the virtual machine, and LINXU accesses the external network under the virtual machine in three ways. I used the default bridging form. Start xwindows, set up the network, set the IP address of eth0 (physical network card) as the IP address available in the LAN, and set the gateway and DNS at the same time.