Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/tools/SVN


Ignore:
Timestamp:
Feb 17, 2008, 11:33:06 PM (16 years ago)
Author:
nicolasc
Comment:

ci

Legend:

Unmodified
Added
Removed
Modified
  • code/tools/SVN

    v2 v3  
    66svn up
    77svn ci -m "some message"
     8svn add myFile.cc myFile.h
     9svn rm trash-folder
    810svn cp https://svn.orxonox.net/orxonox/trunk https://svn.orxonox.net/orxonox/branches/test
    911svn diff
     
    4244}}}
    4345
     46Updates may cause conflicts if the remote and local file has been changed in the same place. to resolve a conflict see [wiki:SVN#resolve here].
     47
    4448=== checkin (ci) ===
    45 sometime also called commit
     49sometime also called commit, does the opposite of checkout or update, it upload changes made to the local the to the server. The syntax is ''svn ci -m <commit message> <local-path>'', if <local-path> is omitted, the current directory is assumed, if -m <commit message> is ommited, an editor will pop up where you can (and should) write a meaningful commit message.
     50
     51this will checkin the current directory including subfolders with the comment "initial upload"
     52{{{
     53svn ci -m "initial upload"
     54}}}
     55
     56A checkin is only possible if the local version is up-to-date. if it isn't you will get an error, and the commit will fail. the solution then is to do an [wiki:SVN#update(up) update].
     57