svn co svn://222.2.2.2/happy/trunk
cd trunk
svn log -l 5
Only show 5 commit log (–limit)
svn update -r
svn update -r r1111
svn update -r HEAD (go back to lastest commit)
Diff code
Diff code use meld tool
svn diff -r r6161:r6164 --diff-cmd meld
Look svn code status
Go to commit folder, then type following command will show the status of file.
svn status / svn st
? is not a file which on the remote repository
A is a file which on the remote repository
Reference:
- Subversion Tutorial: 10 Most Used SVN Commands with Examples
- How do I return to an older version of our code in Subversion?
- How do I get a pretty visual diff for svn?
0 意見:
張貼留言