Differences
This shows you the differences between two versions of the page.
help:apps:svn_use [2015/08/26 17:24] |
help:apps:svn_use [2015/08/26 17:24] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== SVN quick reference | ||
+ | The following is modified from an email sent by Prof. Smith on the use of the command line svn program under linux here at CS | ||
+ | ===== To checkout (co) repository for first time ===== | ||
+ | |||
+ | - cd on your local machine to where you want your project working directory to be created | ||
+ | - enter the command: `` %% svn co https:// | ||
+ | |||
+ | ===== To check the status of a *particular* file ===== | ||
+ | |||
+ | `` %% svn status < | ||
+ | |||
+ | ===== To show *which* files have been updated ===== | ||
+ | `` %% svn status -u %% `` | ||
+ | |||
+ | ===== To compare working version with repository' | ||
+ | `` %% svn diff < | ||
+ | |||
+ | ===== To see a file's activity log ===== | ||
+ | `` %% svn log [--verbose] < | ||
+ | |||
+ | ===== To update your own working copy ===== | ||
+ | `` %% svn update %% `` | ||
+ | |||
+ | ===== To commit changes ===== | ||
+ | `` %% svn commit -m " | ||
+ | |||
+ | ===== To add a file or directory ===== | ||
+ | |||
+ | Notes on ``svn add``:// | ||
+ | * by default, svn adds dirs recursively | ||
+ | * this command must be followed by a commit! | ||
+ | `` %% svn add < | ||
+ | |||
+ | |||
+ | ===== More information ===== | ||
+ | A great place to start learning more about subversion is http:// | ||
+ | |||
+ | |||
+ | /* keywords for search | ||
+ | subversion code repository | ||
+ | */ |