当前位置:网站首页>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 );
边栏推荐
- 免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
- [2. Basics of Delphi grammar] 2 Object Pascal data type
- SVN完全备份svnadmin hotcopy
- 美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃
- Network security web penetration technology
- Leetcode: lucky number in matrix
- CC2530 common registers for timer 1
- How to delete a specific line from a text file using the SED command?
- Hands on in-depth learning notes (XIV) 3.7 Simple implementation of softmax regression
- LeetCode 1656. Design ordered flow
猜你喜欢
Idea configuration plug-in
聊聊接口优化的几个方法
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
图之深度优先搜索
Simulink oscilloscope data is imported into Matlab and drawn
MySQL single table field duplicate data takes the latest SQL statement
Daily code 300 lines learning notes day 10
One brush 149 force deduction hot question-10 regular expression matching (H)
線程池:業務代碼最常用也最容易犯錯的組件
What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties
随机推荐
浅谈拉格朗日插值及其应用
Mysql database -dql
关于学习Qt编程的好书精品推荐
utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library
Visual studio "usually, each socket address (Protocol / network address / port) can only be used once“
New library online | cnopendata complete data of Chinese insurance institution outlets
visual studio “通常每个套接字地址(协议/网络地址/端口)只允许使用一次“
How to allow remote connection to MySQL server on Linux system?
CC2530 common registers
手把手带你入门 API 开发
Arduino esp32: overall framework of lvgl project (I)
CC2530 common registers for timer 1
远程办公之如何推进跨部门项目协作 | 社区征文
LeetCode 1656. Design ordered flow
[combinatorics] recursive equation (definition of general solution | structure theorem of general solution of recursive equation without multiple roots)
What kind of material is 14Cr1MoR? Analysis of chemical composition and mechanical properties of 14Cr1MoR
One brush 149 force deduction hot question-10 regular expression matching (H)
PHP converts a one-dimensional array into a two-dimensional array
Necessary ability of data analysis
在iptables防火墙下开启vsftpd的端口