Branch:
1 2 |
svn copy SRC DST -m "message" svn copy "https://domain.tld/svn/project/trunk" "https://domain.tld/svn/project/branches/branch-662" |
CheckOut:
1 2 |
svn checkout [--username john.doe] svn checkout "https://domain.tld/svn/project/branches/branch-662" 662 |
Update:
1 |
svn update |
Info:
1 |
svn info |
Clean up:
1 |
svn cleanup |
Commit:
1 2 |
svn commit svn status | awk ‘/^A.*+.*/ {print $3}’ | xargs svn commit -m “new files” |
Revert:
1 |
svn revert [filename] |
Create diff:
1 2 |
svn diff svn diff > qdebug.diff |
Create patch
1 |
diff -rupN original/ new/ > original.patch |
Apply patch:
1 |
patch -p1 -i <code>original.patch</code>-d this_directory |
Svn log:
1 2 3 4 |
svn log [filename] svn log -r <code>22334</code>:HEAD -v svn log -r 101856:HEAD -v path/path/file.php svn diff -r 22334:HEAD --summarize &lt;url of the branch&gt; |
Svn revert:
1 |
svn merge --dry-run -rHEAD:PREV https://example.com/svn/myproject/trunk |
Create directory with trunk
1 |
svn mkdir -m"first" https://svn.my-repo.com/my_project/trunk --parents |