SVN COMMAND
* To Create a new project into repository --->svn import -m "My mesage" LOCAL_PROJECT_FOLDER_PATH URL/PROJECT_NAME
Example :
svn import -m "Sarm" var/www/vhost/suchismita.afixiindia.com/sarm http://svn174.afixiindia.com:8174/svn/sarm
* To Check out a project --->svn co/checkout URL/PROJECT_NAME
Example :
svn co http://svn174.afixiindia.com:8174/svn/sarm
* To Commit from local or external --->svn ci/commit -m "Here gives some comment..." [file1/directory1] ... [fileN/directoryN] (Go to your desired project directory by the help of ssh in case of externanl)
Example :
svn ci -m "BySuchismita" file1.php
* To Update from svn --->svn update [file-name1 / dir-name1] [file-name2 / dir-name2]...[file-name-n / dir-name-n] (When specific files or directories need to be update)
Example :
svn update
* To Update from some revision number --->svn update -r REVISION_NO
Example :
svn update -r 1905
* To Overwrite local file(s) with the one in the repository --->svn revert FILENAME_1 ... FILENAME_N
Example :
svn revert file1.php
* To Resolve conflicted file --->1st remove of ">>> or ===" from the file, then write --->svn resolved FILENAME
Example :
svn resolved file1.php
* To Get revision number
Example :
svnversion
* To Get information
Example :
svn info
* To Get status
Example :
svn status
* To Get svn help --->svn help [type] , Here "type" - commit, update, status etc...
Example :
svn help import
* To Cleanup the svn lock
Example :
svn cleanup