Setup mercurial » Historie » Version 2
Jeremias Keihsler, 05.09.2024 07:36
| 1 | 1 | Jeremias Keihsler | h1. Setup mercurial |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirements |
||
| 4 | |||
| 5 | To install mercurial you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. CentOS 9) |
||
| 7 | * root-access |
||
| 8 | * a fast internet connection |
||
| 9 | 2 | Jeremias Keihsler | * repo: [[repo_epel|EPEL]] |
| 10 | 1 | Jeremias Keihsler | |
| 11 | h2. Preliminary Note |
||
| 12 | |||
| 13 | h2. Install |
||
| 14 | |||
| 15 | Install @mercurial@: |
||
| 16 | |||
| 17 | <pre><code class="bash"> |
||
| 18 | dnf install mercurial |
||
| 19 | </code></pre> |
||
| 20 | |||
| 21 | h2. Setup Repo |
||
| 22 | |||
| 23 | step into the desired directory |
||
| 24 | |||
| 25 | <pre><code class="bash"> |
||
| 26 | hg init |
||
| 27 | hg add |
||
| 28 | hg diff |
||
| 29 | hg commit -u username |
||
| 30 | </code></pre> |