当前位置:网站首页>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 );
边栏推荐
- visual studio “通常每个套接字地址(协议/网络地址/端口)只允许使用一次“
- Hands on in-depth learning notes (XIV) 3.7 Simple implementation of softmax regression
- One brush 142 monotone stack next larger element II (m)
- What is your income level in the country?
- One brush 146 force buckle hot question-3 longest substring without repeated characters (m)
- word 退格键删除不了选中文本,只能按delete
- How to promote cross department project collaboration | community essay solicitation
- SVN如何查看修改的文件记录
- 2022.02.14_ Daily question leetcode five hundred and forty
- UCORE overview
猜你喜欢
Why is WPA3 security of enterprise business so important?
utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library
图之深度优先搜索
跨境电商:外贸企业做海外社媒营销的优势
Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
What is the pledge pool and how to pledge?
Static program analysis (I) -- Outline mind map and content introduction
The way of wisdom (unity of knowledge and action)
[combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
聊聊接口优化的几个方法
随机推荐
CC2530 common registers for timer 1
Static program analysis (I) -- Outline mind map and content introduction
CC2530 common registers for port interrupts
The largest matrix (H) in a brush 143 monotone stack 84 histogram
[combinatorics] recursive equation (outline of recursive equation content | definition of recursive equation | example description of recursive equation | Fibonacci Series)
BYD and great wall hybrid market "get together" again
ANOVA example
Depth first search of graph
PHP online confusion encryption tutorial sharing + basically no solution
IL Runtime
Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
新库上线 | CnOpenData中国保险机构网点全集数据
基于主机的入侵系统IDS
C language modifies files by line
Build your own website (23)
Necessary ability of data analysis
What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material
UCORE overview
[sword finger offer] 58 - I. flip the word order