Pre-installation software preparationsvn服务器Setup-Subversion-1.8.13.msisvn客户端TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msisvn插件site-1.8.zipInstall the SVN server and the client first.After the installation is complete, verify.start the SVN
(If the file is submitted for the first time, it is likely that "SVN:" will appear.) Not a working copy, that is, the current directory is not a working copy, this time requires import:eg:svn import. url)1 , checkout the file to the local directory
1. Checkout files to a local directory
svn Checkout Path (path is a directory on the server)
Example: SVN checkout Svn://192.168.1.1/pro/domain
Shorthand: SVN co
2. Add a new file to the repository
svn Add File
Example:
Transferred from: http://www.cnblogs.com/luckythan/p/4478706.htmlThe basic operating procedure for SVN is:You just entered a new company and asked you to take over an ongoing project, and you opened the terminal and wrote: SVN co
1. checkout files to a 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 a new file to the repository SVN Add fileExample: SVN add test.php (add test.
If the trunk is like this,
A---->b------>c----->d------------>e
A b c d e represents the version number, respectively.
Suddenly discovering that the project introduced a bug in version e, it may take a while to modify the bug, which means that if
SVN Linux usesSVN Linux Client Update
[Root@ds svn]# SVN co svn://10.10.233.19/web1//svn/--username=mark1--password=mark1Chinese character error can be modified:
Export Lc_ctype= "en_US. UTF-8 "Export lc_all=List and view:
[Root@ds ~]# svn list
Linux Learning Chat (iii)--SVN usage and cut and close versions(Reproduced please attach this article link--linhxx)SVN is an integral part of the project, with many people collaborating on projects, project versioning, and more. Although many
Svn commands in linux
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
Svn command in linux 1. run the file checkout to the local directory svncheckoutpath (path is the directory on the server) for example: svncheckoutsvn: // 192.168.1.1/pro/domain abbreviation: svnco2, add new files to the version library... svn
Design logic
The command line allows you to dynamically merge code from different repositories by passing values .
determine if the code has been moved out to the local, if no need to move out first;
get the version number of the
The reason for the birth of source code management tools:1. Can't regret: After doing a wrong operation, there is no regret medicine can eat;Note: When programming with Xcode, we made a code change, suddenly Xcode collapsed, or accidentally turned
1. Check outSVN CO/HTTP path (full path to directory or file) [local directory full path]--username user name--password passwordSVN Co svn://path (full path to directory or file) [local directory full path]--username user name--password passwordSVN
1. Check out:SVN co/HTTP Path [full path to directory over file] [local directory full path]--username username--password password;SVN co scn://path [full path to directory or file] [local directory full path]--username user name--password
Basic operations1. Checkout only need to do once!2. Daily before work: Commit "Run Version"3. Daily before work: all code before updateUse environmentTo use SVN to manage your source code, you have to have 2 sets of environmentsServer1. The source
Origin of source code control tools为什么会出现源代码管理工具?为了解决在软件开发过程中,由源代码引发的各种蛋疼、繁琐的问题源代码会引发哪些问题?无法后悔:做错了一个操作后,没有后悔药可以吃版本备份:费空间、费时间版本混乱:因版本备份过多造成混乱,难于找回正确的想要的版本代码冲突:多人操作同一个文件(团队开发中的常见问题)权限控制:无法对源代码进行精确的权限控制追究责任:出现了严重的BUG,无法得知是谁干的,容易耍赖…
To create a version library[Email protected]/]# svnadmin Create/application/svndata/sadoc[Email protected]/]# tree/application//application/├──svndata│└──sadoc│├──conf││├──authz││├──passwd││└──svnserve.conf│├──db││├──current││├──format││├──fsfs.conf│
First step: Download Vim plugin management tool Vundle
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
Step two: Copy my VIMRC to your ~/.VIMRC (remember to back up before you change it)
Introduction: This is a detailed page of SVN commands in Linux. It introduces SVN commands in PHP, SVN, PHP, checkout, and Linux) related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
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.