User Tools

Site Tools


svn_hints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
svn_hints [2013/05/13 19:24]
bhkong created
svn_hints [2013/05/20 15:32] (current)
bhkong [Creating a repo]
Line 1: Line 1:
 ===== Creating a repo ===== ===== Creating a repo =====
-Assuming you have an account already, log on to the admin panel [[https://​svn.ics.uci.edu/​svnadmin/​titans/​|here]]. Once you've logged in, click on Add under Access-Paths. You should now see a text field and a create ​button. Enter in the desired name of your repo followed by a colon and a slash (e.g., ​"my_repo:/"), then click Create. Your repo should be now created and you should be able to see it if you click on List under Access-Paths.+ 
 +Assuming you have an account already, log on to the admin panel [[https://​svn.ics.uci.edu/​svnadmin/​titans/​|here]]. Once you've logged in, click on Add under Repositories. You should now see a text field for the Repository name and a Create ​button. Enter in the desired name of your repo (e.g., ​my_repo), then click Create. Your repo should be now created and you should be able to see it if you click on List under Repositories. 
 + 
 +Next, you'll want to give yourself read and write permissions. Click on List under Access-Paths ​and find the name of the repo you just created. Click on the repo name and you'll be presented with a page to add/​modify/​remove user permissions for your repo. Select your username from the User dropdown, change the permission to "Read & Write" and click Assign. You'll now have read your repo, and commit changes to it. 
  
 ===== Checking out a repo ===== ===== Checking out a repo =====
-Now that you've created a repo, you'll want to check out a local copy. As a running example, you can run the following command in a terminal: + 
-<​code>​svn co https://​svn.ics.uci.edu/svnadmin/​titans/​my_repo/</​code>​+Now that you've created a repo and have given yourself the correct permission, you'll want to check out a local copy. As a running example, you can run the following command in a terminal: 
 + 
 + 
 +<​code>​ 
 +svn co https://​svn.ics.uci.edu/​titans/​my_repo/​ 
 +</​code>​ 
  
 ===== Using SVN ===== ===== Using SVN =====
 +
 +
 If you're not familiar with SVN, you can find a nice tutorial [[http://​pointbeing.net/​weblog/​2009/​03/​command-line-subversion-tutorial-part-1.html|here]]. If you're not familiar with SVN, you can find a nice tutorial [[http://​pointbeing.net/​weblog/​2009/​03/​command-line-subversion-tutorial-part-1.html|here]].
 +
svn_hints.1368498281.txt.gz · Last modified: 2013/05/13 19:24 by bhkong