Mercurial > hg > easyhg
comparison help/a-10.html @ 494:41a156d439d0
Start adding Help
author | Chris Cannam |
---|---|
date | Thu, 18 Aug 2011 16:37:27 +0100 |
parents | |
children | e6141a238811 |
comparison
equal
deleted
inserted
replaced
493:75ebcacd3f75 | 494:41a156d439d0 |
---|---|
1 <link rel="stylesheet" type="text/css" href="help.css"/> | |
2 <p><a href="topics.html">Back to Topics</a></p><hr> | |
3 | |
4 | |
5 <h2>Someone gave me a repository URL and asked me to clone it</h2> | |
6 | |
7 <p>A Mercurial repository location is usually described by a URL, like | |
8 that of a website.</p> | |
9 | |
10 <p>For example, the URL for the repository containing the source code for | |
11 EasyMercurial itself is <code>https://bitbucket.org/cannam/easyhg</code>.</p> | |
12 | |
13 <p>To get a copy of the files in a repository, you need to <i>clone</i> the | |
14 repository from the remote URL into a folder on your own computer. To | |
15 do this,</p> | |
16 | |
17 <p><b>1. click the Open toolbar button or use File -> Open</b></p> | |
18 | |
19 <p><center><img src="images/openremote50.png"></center></p> | |
20 | |
21 <p><b>2. select “Remote Repository” as the thing you want to open</b></p> | |
22 | |
23 <p><b>3. enter the repository URL into the URL field</b></p> | |
24 | |
25 <p><b>4. give the name of a folder on your local computer to clone into</b> – | |
26 this folder will be created for you, so it shouldn't be one that already | |
27 exists</p> | |
28 | |
29 <p><b>5. click OK</b></p> | |
30 | |
31 <p>If the remote repository has restricted access, you may be asked to | |
32 provide a username and password to log in to the server it is hosted | |
33 on. If the repository is large, you may have to wait a while for all the | |
34 data to be transferred.</p> | |
35 | |
36 <p>Provided the clone has been successful, you should now have a local | |
37 repository to work in.</p> | |
38 | |
39 <hr><p><a href="topics.html">Back to Topics</a></p> |