svn_note.md 476 B

SVN

Some notes of SVN

  1. Ignore files recursively usage

    svn propset -R svn:ignore '*.jpg' .

  2. Edit svn property using vim tool

    svn propedit svn:ignore .

  3. Reverting single file in SVN to a particular revision

    svn cat -r 175 mydir/myfile > mydir/myfile

  4. Find specific status files, e.g. Modified status -> M

    svn st | awk '/^M/{pring $2}'

  5. Only commit directory itself(excluding subdirectories and files)

    svn commit --depth empty .