- 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
(9 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
}} | }} | ||
== 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: | |||
{{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: | |||
{{Command|command = | |||
svn ci | |||
}} | |||
In order to update your local copy use the update command: | |||
{{Command|command = | |||
svn up | |||
}} | |||
Files and directories can be removed with | |||
{{Command|command = | |||
svn rm $filename | |||
}} | |||
and added with | |||
{{Command|command = | |||
svn add $filename | |||
}} | |||
With the command | |||
{{Command|command = | |||
svn help | |||
}} | |||
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 | ||
}} | }} | ||
== See also == | == See also == | ||
* [[Software Development Tools, Compilers & Libraries]] | * [[Software Development Tools, Compilers & Libraries]] | ||
* [[HLRS GForge]] | |||
* [[Secure Shell ssh#ssh tunnel | ssh tunnel for svn]] | |||
== External links == | == External links == |
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