Setup mercurial » Historie » Version 1
Jeremias Keihsler, 05.09.2024 07:33
| 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 | |||
| 10 | h2. Preliminary Note |
||
| 11 | |||
| 12 | h2. Install |
||
| 13 | |||
| 14 | Install @mercurial@: |
||
| 15 | |||
| 16 | <pre><code class="bash"> |
||
| 17 | dnf install mercurial |
||
| 18 | </code></pre> |
||
| 19 | |||
| 20 | h2. Setup Repo |
||
| 21 | |||
| 22 | step into the desired directory |
||
| 23 | |||
| 24 | <pre><code class="bash"> |
||
| 25 | hg init |
||
| 26 | hg add |
||
| 27 | hg diff |
||
| 28 | hg commit -u username |
||
| 29 | </code></pre> |