== SVN == This Page contains a collection of the most used svn command including some examples. {{{ svn co https://svn.orxonox.net/data/trunk data svn up svn ci -m "some message" svn cp https://svn.orxonox.net/orxonox/trunk https://svn.orxonox.net/orxonox/branches/test svn diff svn resolve somefile.cc svn revert }}} If not noted otherwise all commands are recursive. === checkout (co) === the checkout command is used to create a local copy of a svn subtree on the local computer. the syntax used is ''svn co '', if is omitted the last remote folder will be used as . This will create a folder orxonox-trunk with the contents of the trunk {{{ svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk }}} This will create a folder called test, with the content of the test branch. {{{ svn co https://svn.orxonox.net/orxonox/branches/test }}} === update (up) === update is closely related to checkout, as it also download - or updates - the svn tree. while checkout is normally only used once, update is used all the time. the syntax is ''svn up '', if is omitted the current update will be allied to the current directory. This will update the current folder including subfolders. {{{ svn up }}} This will update the trunk and the test-branch. {{{ svn up trunk branches/test }}} === checkin (ci) === sometime also called commit