Friday, March 30, 2012

SVN commands Using with my Mac

use cd command to reach your working folder

1.  To import the source to svn at first time

     "." represent the current folder

    svn import ./ -m 'initial import' --username --password yy

2. To checkout the source from SVN to our machine

     svn checkout myprojectfolder --username --password yy

3. To commit the changes.

    svn commit -m "commentss"

4. Export the source from SVN to our machine. When we do export , the exported source will not exist the svn files.

   svn export ./ExportFolder

To Export a specific revision number (say 522):

svn export -r 522 svn:// ./522

Other Terminal commands

A. To show hidden files

     defaults write AppleShowAllFiles NO

B. To show Library folder under Home folder

    chflags nohidden ~/Library/

No comments:

Post a Comment