YouTip LogoYouTip

Svn Commit

# SVN Commit Operation In the previous chapter, we checked out the repository tutorial01, and the corresponding directory is placed in /home/user01/tutorial01. Now, we will perform version control on this repository. * * * We need to add a readme description file to the repository version. root@tutorial:~/svn/tutorial01/trunk# cat readme this is SVN tutorial. Check the status in the working copy. root@tutorial:~/svn/tutorial01/trunk# svn status? readme At this time, the status of readme is ?, indicating that it has not yet been added to version control. Add the file readme to version control, waiting to be committed to the repository. root@tutorial:~/svn/tutorial01/trunk# svn add readme A readme Check the status in the working copy root@tutorial:~/svn/tutorial01/trunk# svn status A readme At this time, the status of readme is A, which means that this file has been successfully added to version control. To store readme in the repository, use commit -m with a comment message to commit. If you omit the -m option, SVN will open a multi-line text editor for you to enter the commit message. root@tutorial:~/svn/tutorial01/trunk# svn commit -m "SVN readme."Adding readme Transmitting file data .Committed revision 8. svn commit -m "SVN readme." Now readme has been successfully added to the repository, and the revision number automatically increases by 1.
← Docker Install MongodbJs Validation Api β†’