Mercurial > hg > easyhg
comparison help/a-22.html @ 525:721a8e30822b
Merge
author | Chris Cannam |
---|---|
date | Thu, 17 Nov 2011 17:12:39 +0000 |
parents | 21aa41b62c3a |
children |
comparison
equal
deleted
inserted
replaced
524:eea753f1cae8 | 525:721a8e30822b |
---|---|
1 <link rel="stylesheet" type="text/css" href="help.css"/> | |
2 | |
3 | |
4 <h2>I want to remove, rename, or copy a file</h2> | |
5 | |
6 <p>To remove or rename a file, you first need to find it in the list of | |
7 files under “My work”. This area normally shows only those files that | |
8 you have changed since your last commit: if it isn't one of those, | |
9 toggle the “Show all files” option at the bottom of the window.</p> | |
10 | |
11 <p>To <b>remove</b> a file from version control so that changes to it are no longer tracked:</p> | |
12 | |
13 <p><b>1. Select the file you want to remove in the list of files under “My work”.</b></p> | |
14 | |
15 <p><b>2. Click Remove in the toolbar on the left of the window</b></p> | |
16 | |
17 <p>The file will be moved to the <b>“Removed”</b> list. This tells Mercurial | |
18 to stop tracking the file the next time you commit. The file itself | |
19 is not removed from the disc: you will need to do that using your | |
20 system file manager afterwards. | |
21 <ul><li>Note: the equivalent Mercurial command for this is <b>hg remove -Af</b></li></ul></p> | |
22 | |
23 <p>To <b>rename</b> or <b>copy</b> a file:</p> | |
24 | |
25 <p><b>1. Select the file you want to remove in the list of files under “My work”.</b></p> | |
26 | |
27 <p><b>2. Right-click and select “Rename..." or “Copy..." on the context menu</b></p> | |
28 | |
29 <p><b>3. Enter a new name for the file.</b> | |
30 <ul><li>Note: the equivalent Mercurial commands are <b>hg rename</b> and <b>hg copy</b></li></ul></p> | |
31 | |
32 | |
33 |