- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
SVN: Difference between revisions
From HLRS Platforms
Jump to navigationJump to search
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
== Usage == | == Usage == | ||
The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands. You can checkout your SVN project like this: | The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands. You can checkout your SVN project like this: | ||
{{Command|command = | |||
svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path | |||
}} | |||
If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this: | If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this: | ||
{{Command|command = | |||
svn ci | |||
}} | |||
In order to update your local copy use the update command: | In order to update your local copy use the update command: | ||
{{Command|command = | |||
svn up | |||
}} | |||
Files and directories can be removed with | Files and directories can be removed with | ||
{{Command|command = | |||
svn rm $filename | |||
}} | |||
and added with | and added with | ||
{{Command|command = | |||
svn add $filename | |||
}} | |||
With the command | With the command | ||
{{Command|command = | |||
svn help | |||
}} | |||
the help page of SVN is displayed. | the help page of SVN is displayed. | ||
== | == Hazelhen special == | ||
To use svn on | To use svn on Hazelhen load the corresponding module | ||
{{Command | command = | {{Command | command = | ||
module load | module load tools/svn | ||
}} | }} | ||
Latest revision as of 14:40, 6 April 2016
In software development, Subversion (SVN) is a version-control system initiated in 1999 by CollabNet Inc. Developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). |
|
Usage
The online home of Version Control with Subversion provides detailed information about all SVN commands. You can checkout your SVN project like this:
svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path
If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:
svn ci
In order to update your local copy use the update command:
svn up
Files and directories can be removed with
svn rm $filename
and added with
svn add $filename
With the command
svn help
the help page of SVN is displayed.
Hazelhen special
To use svn on Hazelhen load the corresponding module
module load tools/svn