Branch
Hash :
c7f69d72
Author :
Thomas de Grivel
Date :
2022-01-29T16:35:33
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="fRYvOkpJJDoaIhh0NjwtAQwmKzcbAjsn1cyM0qvybFH3rxuRyROaKqtw" name="csrf-token">
<title>kmx git</title>
<link phx-track-static rel="stylesheet" href="../../_assets/app-bed61e4049c985c027fe7cdee125ed2d.css?vsn=d">
<script defer phx-track-static type="text/javascript" src="../../_assets/app-0a4c856cc804832195122aace4c50516.js?vsn=d"></script>
<link rel="icon" type="image/png" sizes="128x128" href="../../_images/kmxgit.logo.black.128.png">
<link rel="icon" type="image/png" sizes="64x64" href="../../_images/kmxgit.logo.black.64.png">
<link rel="icon" type="image/png" sizes="32x32" href="../../_images/kmxgit.logo.black.32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://git.kmx.io/_images/kmxgit.logo.black.16.png">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="../../index.html">
<div class="kmxgit-logo">
<span><i class="fa fa-square"></i></span> kmx git
</div>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="../../_log_in">login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../../_register">register</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid center">
</div>
<div class="container-fluid">
<h1>Git installation documentation</h1>
<h2>1. Install git</h2>
<p>
Options :
<ol>
<li>apt (Debian, Ubuntu)</li>
<li>homebrew (Linux, Mac)</li>
<li>pkg (OpenBSD)</li>
<li>sources</li>
<li>binaries (Linux, Mac, Windows)</li>
</ol>
</p>
<h3><a href="install#using-apt" id="using-apt">1.1 Install git using apt (Debian, Ubuntu)</a></h3>
<pre><code>$ sudo apt install git</code></pre>
<h3><a href="install#using-homebrew" id="using-homebrew">1.2 Install git using brew (Linux, Mac)</a></h3>
<pre><code>$ brew install git</code></pre>
<h3><a href="install#using-pkg" id="using-pkg">1.3 Install git using pkg (OpenBSD)</a></h3>
<pre><code>$ doas pkg_add git</code></pre>
<h3><a href="install#using-sources" id="using-sources">1.4 Install git from sources</a></h3>
Download sources from <a href="https://github.com/git/git/tags" target="_blank">https://github.com/git/git/tags</a>
<pre><code>$ tar xzf git-*.tar.gz
$ cd git-*
$ make
$ sudo make install</code></pre>
<h3><a href="install#using-binaries" id="using-binaries">1.5 Install git from binaries (Linux, Mac, Windows)</a></h3>
<p>
Please see <a href="https://git-scm.com/downloads" target="_blank">https://git-scm.com/downloads</a>.
</p>
<h2><a href="install#links" id="links">Links</a></h2>
<p>
If you need more help with git, please see :
<ul>
<li><a href="https://git-scm.com/doc">the official git documentation</a></li>
<li><a href="https://stackoverflow.com/questions/tagged/git">StackOverflow about git</a></li>
</ul>
</p>
</div>
<br>
<div class="footer bg-light">
<a href="https://www.kmx.io/" target="_blank">kmx.io</a>
</div>
</body>
</html>