当前位置:网站首页>How SVN views modified file records
How SVN views modified file records
2022-07-03 17:04:00 【Brother Xing plays with the clouds】
There are mainly four orders ,svn log Used to display svn The author of this edition 、 date 、 Path, etc ;svn diff, Used to display row level details of specific modifications ;svn cat, Gets a file in a specific version displayed on the current screen ;svn list, Displays files that exist in a directory or a version .
The more common one is svn diff command . It can compare different versions 、svn Between version and local version Library , And check the effect of local modifications .
svn diff; # Nothing , Will adhere to local code and cache locally .svn The information under the directory is different ;
svn diff -r 3; # Compare your local code with the version number 3 Of all the files ;
svn diff -r 3 text.c; # Compare your local code with the version number 3 Of text.c The difference of documents ;
svn diff -r 5:6; # Compare versions 5 And version 6 The difference between all files ;
svn diff -r 5:6 text.c; # Compare versions 5 And version 6 Between text.c Changes in documents .
View the modified information using log Instructions , as follows :
svn log; # Nothing will show all versions commit Log information ;
svn log -r 4:5; # Just look at the version 4 And version 5 Log information ;
svn log test.c; # see file test.c Log modification information for ;
svn log -v dir; # View the log modification information of the directory , Need to add v;
View the contents of a file in a certain version , Use cat Instructions , as follows :
svn cat -r 4 test.c; # View version 4 Documents in test.c The content of , No comparison ;
There is no need to download to the local to view various information of the file , Use list Instructions , as follows :
svn list http://svn.test.com/svn # View files in directory ;
svn list -v http://svn.test.com/svn # View detailed directory information ( Revised by , Version number , File size, etc );
边栏推荐
- Daily code 300 lines learning notes day 10
- Web crawler knowledge day03
- CC2530 common registers for ADC single channel conversion
- Summary of three methods of PHP looping through arrays list (), each (), and while
- 大消费企业怎样做数字化转型?
- C language modifies files by line
- [combinatorics] non descending path problem (number of non descending paths with constraints)
- Talk about several methods of interface optimization
- 智慧之道(知行合一)
- What is the material of 13mnnimor? 13mnnimor steel plate for medium and low temperature pressure vessels
猜你喜欢
![29: Chapter 3: develop Passport Service: 12: develop [obtain user account information, interface]; (use VO class to package the found data to meet the requirements of the interface for the returned da](/img/1c/c655c8232de1c56203873dcf171f45.png)
29: Chapter 3: develop Passport Service: 12: develop [obtain user account information, interface]; (use VO class to package the found data to meet the requirements of the interface for the returned da

Mysql database -dql

跨境电商:外贸企业做海外社媒营销的优势

聊聊接口优化的几个方法

13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties

C语言按行修改文件

MySQL single table field duplicate data takes the latest SQL statement

What material is sa537cl1? Sa537cl1 corresponds to the national standard material

What kind of material is 14Cr1MoR? Analysis of chemical composition and mechanical properties of 14Cr1MoR

2022.02.14_ Daily question leetcode five hundred and forty
随机推荐
CC2530 common registers for timer 1
What is your income level in the country?
【剑指 Offer】58 - I. 翻转单词顺序
Difference between JSON and bson
visual studio “通常每个套接字地址(协议/网络地址/端口)只允许使用一次“
SVN完全备份svnadmin hotcopy
Summary of three methods of PHP looping through arrays list (), each (), and while
Mysql database -dql
Atom QT 16_ audiorecorder
Recommendation of good books on learning QT programming
2022.02.14_ Daily question leetcode five hundred and forty
MySQL user management
远程办公之如何推进跨部门项目协作 | 社区征文
基于主机的入侵系统IDS
[Jianzhi offer] 57 - ii Continuous positive sequence with sum s
[combinatorial mathematics] recursive equation (example of recursive equation 2 Hanoi Tower | example of recursive equation 3 insertion sequencing)
RF analyze demo build step by step
Network security web penetration technology
Rsync远程同步
[combinatorics] recursive equation (characteristic equation and characteristic root | example of characteristic equation | root formula of monadic quadratic equation)