SVN shortnote

1. How to delete all .svn with only one command

  • # find . -name ".svn" -exec rm -rf {} \;

2. SVN commit [Ref]

  • If commit by enter no comments, it may show error message that some files will be ignore to add to repository. "This line, and those below, will be ignored".
  • Try svn commit -m "commit message you want".

3. Subversion with Branch / Trunk [Ref]

4. SVN Client and Public/Private Key

  • Use Pageant of Putty package

Final: Ubuntu Service command (Management) [Ref]

  • # update-rc.d SERVICE-NAME remove

บอกต่อ....
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Twitter
  • email

Facebook comments:

2 Responses - Add Yours+

  1. taiko says:

    ยังใช้ svn ไม่คล่องเหมือนกัน ถึงจะใช้มาปีนึงแล้วก็เถอะ
    เราใช้feature หลัก ๆ ทำงานก็ทำแต่ใน trunk
    อย่างอื่นไม่ได้ยุ่งเลย แถมไม่เซ็ต passwordอีก
    (ใช้ anonymous commit งานตลอด) หวังว่า
    ตัวเองจะได้เล่น svnเชิงลึกกว่านี้เหมือนกัน

    เออ ไอ้ shell script ลบ .svn นี่เพิ่งรู้
    (ไม่เคยใช้อะไรแบบนี้ ประสพการณ์ unix ต่ำต้อยมากเรา)
    ขอจำไปใช้เลยละกัน โย่ว

  2. Scalopus+ says:

    เมื่อก่อนเราใช้ CVS แต่ก็รู้แค่พื้นฐานเหมือนยังใช้อะไรไม่เป็น นี่กะว่าจะอ่านหนังสือ SVN ให้สามารถใช้งานได้ อย่างน้อย ก็สามารถทำงานเป็น Version Control ได้จริงๆ ไม่ใช่เก็บเป็น Repository เพียงอย่างเดียว (ตอนนี้รู้สึกได้ใช้แต่เป็น Repository)

Leave a Reply

You must be logged in to post a comment.