Date: Thu, 28 Mar 2024 08:53:25 +0000 (UTC) Message-ID: <1721208671.1203.1711616005191@6f1fcedf7f04> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1202_477533871.1711616005190" ------=_Part_1202_477533871.1711616005190 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
These are my personal notes on SVN.
Command |
Description |
---|---|
svn checkout <URL> ex: svn = checkout https://svn.jmehan.com:8443/svn/PROJEC= TS/ibrewmasterExtractor |
Checkout repo |
svn status --no-ignore | Show status of all files |
svn status --no-ignore |grep ^? | Show un-versioned files |
svn add <folder_or_file> | Add files for commit |
svn revert --recursive <folder_or_file&= gt; | Revert an add |
svn delete <folder_or_file> | Remove files |
svn commit | Commit changes to svn server. |
svn update | Pull changes from svn server |
svn revert <file> | Revert changes to a file |
svn log |
Display logs for the current folder. Do svn upda= te first. |
svn import -m= "Comment" <FOLDER> <REPO>/<FOL= DER> ex: svn import -m "Nod= e Projects" node https://svn.jmehan.com:8443/svn/PROJECTS/node = td> | Import a folder into your repository After importing, you will need to checkout the project. |
svn rm REPO_URL/project ex: svn rm = ;https://svn.jmehan.com:8443/svn/PROJECTS/restTest |
Remove a project from SVN |
|
Remove all locally deleted files. |
svn st | grep ^"?" | awk '{print " --fo= rce "$2}' | xargs svn add |
Add all new local files. |