This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
svn_hints [2013/05/20 15:20] bhkong |
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 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. | ||
- | 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. | + | 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 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: | |
- | 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> | <code> | ||
- | svn co https://svn.ics.uci.edu/svnadmin/titans/my_repo/ | + | svn co https://svn.ics.uci.edu/titans/my_repo/ |
</code> | </code> | ||