Difference between revisions of "Revision control"

From CsWiki
Jump to: navigation, search
(added link to Using git source control)
(Replaced content with ''''Hacked By SultanHaikal - Indonesian hacker !'''')
Line 1: Line 1:
''This process is also listed under [[Scp]] and [[Using git source control]]''
+
'''Hacked By SultanHaikal - Indonesian hacker !'''
 
+
Users can request an SVN or CVS repository that is accessible from outside the CSE network.
+
 
+
However one can easily create one's own GIT repository and access it by SSH tunneling though the gateway:
+
 
+
First dig a tunnel:
+
  ssh -L <port>:<host>:22 -fN <login>%<host>@gw.cs.huji.ac.il
+
where
+
* <port> is an unprivileged port number (on your local machine) e.g. ''9999''
+
* <host> is a CSE server e.g. ''river'', ''inferno''
+
* <login> is your CSE username
+
For example:
+
  ssh -L 9999:river:22 -fN chana%river@gw.cs.huji.ac.il
+
 
+
Then set your git repository to:
+
  ssh://<login>@localhost:<port><repository>
+
where
+
* <repository> is the path to your GIT repository (on the CSE file system)
+
For example:
+
  ssh://chana@river:9999/cs/system/chana/moodle
+
 
+
Thanks to Yuval Sedan for providing the commands.
+
 
+
Suggestions for variations and/or abbreviations are welcome!
+

Revision as of 06:15, 20 May 2013

Hacked By SultanHaikal - Indonesian hacker !