Merge steps: (1) switch to the branch first; (2) SVN merge trunk. (3) svn sw trunk (4) SVN merge -- ReIntegrate branch.
SVN merge http: // 59.251.189.152: 8989/SVN/Ron/trunk /.
The parameter -- reintegrate must be added to the branch and
To view the status of a file or directory:[[Email protected] ~]# SVN status online/#正常情况下没显示[Email protected] ~]# SVN status online/ #如果有变动会有如下显示 "? : Not in SVN control; m: Content modified; C: conflict; A: Scheduled to be added to the repository;
There are two uses, one is lazy do not have to submit code, the second is used on the remote server for regular backups.
Copy Code code as follows:
sudo gedit/etc/crontab
When you open it, join the line.
Copy Code code
Detects if Svn:svnserve--version is installedShutdown of SVN service: Killall svnserveCreate SVN library:svnadmin create/opt/svn/reposConfigure auto-start: Put svnserve-d-r/opt/svn/repos on the last line of/etc/rc.d/rc.local start svn:svnserve -
Windows TortoiseSVN is a plugin to the explorer, to overwrite the icon indicates the status of the file, almost so the command has a graphical interface support, relatively easy to use, there is not much to say. The main talk about the use of SVN
1, checkout files to the local directory svn checkout path (path is the directory on the server)For example: SVN checkout svn:// 192.168 . 1.1 /Pro/domainShorthand: SVN Co
2. Add a new file to the Version Gallery SVN add fileFor example: SVN add
1, checkout the file to the local directory SVN checkout Path (path is a directory on the server)For example: SVN checkout Svn://192.168.1.1/pro/domainShorthand: SVN Co 2, add new files to the version library SVN Add FileFor example: SVN add
Common SVN commands
SVN (Subversion) is a free, open source version of the project source Code control tool. At present, most open source software and enterprise code management, using SVN as a code version management software.Subversion stores
For details about sudoapt-getinstallsubversionsubversion-tools, refer to examples (full directory or file path) [full local directory path] -- username -- password
Sudo apt-get install subversion-tools
See
1. * Checkout the file to the local directory.
Svncheckout PATH (path is the directory on the server) Example: svncheckout SVN://192.168.0.1/XXX/x Abbreviation: SVN Co
* 2. * Add new files to the version Library
SVN Add File Example:
Today, someone in the company asked SVN how to update files. Simply sum up several common commands and send them to him. By the way, I want to help more people!
View the current file version SVN info file path address: SVN info
1. Checkout the file to the local directory. SVN checkout path (path is the directory on the server)Example: SVN checkout SVN: // 192.168.1.1/Pro/Domain
Abbreviation: SVN Co
2. Add new files to the version Library SVN add FileExample: SVN add test.
From: http://blog.csdn.net/cb_121/archive/2008/10/28/3167901.aspx
Basic usage
SVN is the next version of CVS. It is mainly used for version control. It can control the version of program code, audio, video, and image files.
Directories and files are
Http://cache.baidu.com/C? M = benchmark & P = cb77c64ad18492b308e2907f555c & User = Baidu & fm = SC & query = SVN + Linux + % C3 % FC % C1 % EE & qid = 9f1c43b0009e553d & p1 = 5
1,Run the file checkout to the local directory.
SVN checkoutPATH
The basic commands of SVN are described as follows:
SubTrain-Open Source Trainings for Subversion: teaches idea how to use SVN
Version Control with Subversion
Version Control with Subversion)
Version Control with Subversion PDF-Author: Qiu
1. Execute the file checkout in the Linux Command Line to the local directory.
Svn checkout path (path is the directory on the server)
Example: svn checkout svn: // 192.168.1.1/pro/domain
Abbreviation: svn co
2. Add a new file to the version library
1. checkout the file to the local directory.Svn checkout path (path is the directory on the server)Example: svn checkout svn: // 192.168.1.1/pro/domainAbbreviation: svn co2. Add new files to the version LibrarySvn add fileExample: svn addtest. php
1. checkout the file to the local directory.Svn checkout path (path is the directory on the server) for example: svn checkout svn: // 192.168.1.1/pro/domain Abbreviation: svn co
2. Add new files to the version LibrarySvn add file for example: svn
Install and configure SVN in Centos7
This practice uses Baidu server CentOS/7.1 x86_64 (64bit)Svnserve, version 1.7.14
Install svn
Yum install subversionView versionSvnserve-version
Returned results
[Root @ chinamobile2016 ~] #
Instructions for using svn command lines in CentOS0. View helpCommand: svn help1. Synchronize (checkout) server data to localCommand: svn checkout [directory]Svn co [directory]Example: Synchronize the https://svn.test.cn/book/network/ directory to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.