commit / checkin / ci SVN Command

How to use commit / checkin / ci SVN (Subversion) Command in Linux / Windows?


commit / checkin / ci command is used to upload the changes which you have done in the local server, in to the server repo.


svn ci <filename> -m <log message>
svn commit <filename> -m <log message>
<filename> - You can either use a file name or folder name or need not use it.
The single file will be uploaded if a name is given or all files with new revision in that folder will be uploaded.
<log message> - Give the message about the changes that are done in the current revision of the file or files.


  • Now you can upload the changes to the server using below command.
    svn ci test.txt -m update
    svn commit test.txt -m update

  • Output:-----------------------------------------------
    Transmitting file data.
    Committed revision 3.


By executing the above cmd, the file 'test.txt' will be updated in the repo and a message with the new version of the file will be derived as output.

Ask Questions

Ask Question