Posted By

veleta on 08/16/10


Tagged

svn


Versions (?)

svn snippets


 / Published in: Bash
 

  1. # remove all .svn files from the current dir
  2. find . -name ".svn" -exec rm -rf {} \;
  3.  
  4. # update current svn project
  5. svn up
  6.  
  7. # get diff for current svn project
  8. svn diff
  9.  
  10. # get diff for a file
  11. svn diff application/controllers/IndexController.php
  12.  
  13. # get missing files on server
  14. svn status
  15.  
  16. # remove a file from the repository
  17. svn delete servers.sql
  18.  
  19. # commit changes to the repository
  20. svn commit -m "new baseline dump" baselinedump.sql
  21.  
  22. # add new files for current svn project
  23. svn add tests/application/controllers application/models/DbTable application/controllers/ServerSummaryController.php
  24.  
  25. # edit directory properties
  26. svn propedit svn:ignore .

Report this snippet  

You need to login to post a comment.