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 ./ https://xxx.mygooglecode.com/svn/trunk/ -m 'initial import' --username xx@gmail.com --password yy

2. To checkout the source from SVN to our machine

     svn checkout https://xxx.mygooglecode.com/svn/trunk/ myprojectfolder --username xx@gmail.com --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 https://xxx.my.com:8080/svn/sampleproject/trunk ./ExportFolder


Other Terminal commands

A. To show hidden files

     defaults write com.apple.Finder AppleShowAllFiles NO

B. To show Library folder under Home folder

    chflags nohidden ~/Library/

No comments:

Post a Comment