Show Menu
Cheatography

SVN

Usefull commands

svn ci -m "­commit messag­e"
Commit
svn up
Update working copy from svn server
svn st
Show changes from last commit
svn info
View svn working copy info
svn up -r500
Get 500 revicion
 

Branching

svn cp -m "new branch­" ^/trunk ^/bran­che­s/new
Create "­new­" branch
svn sw ^/bran­che­s/new
Switch to branch "­new­"
svn ci -m "­commit messag­e"
Commit to branch
svn merge ^/trunk
Merge trunk changes to branch "­new­"
svn ci -m "­trunk merge to new branch­"
Commit merge
svn sw ^/trunk
Switch to trunk
svn merge --rein­tegrate ^/bran­che­s/new
Merge branch changes to trunk
 
               
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Subversion Cheat Sheet
          Mercurial (Hg) Cheat Sheet
          Git Cheat Sheet