Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:installer_git [2021/01/23 12:54] letistepublic:installer_git [2022/03/18 19:56] (current) – external edit 127.0.0.1
Line 13: Line 13:
 ===== Installer Git ===== ===== Installer Git =====
  
 +  * [[installer_git#Windows|Window]]
 +  * [[installer_git#Linux/WSL|Linux/WSL]]
 +  * [[installer_git#Mac|Mac]]
 ==== Windows ==== ==== Windows ====
  
Line 18: Line 21:
  
 Suivre les instructions pour l'installation. Attention à bien faire comme indiqué dans les images ci-dessous pour les étapes concernées. Suivre les instructions pour l'installation. Attention à bien faire comme indiqué dans les images ci-dessous pour les étapes concernées.
-  * Choosing the default editor user by Git+  * **Choosing the default editor user by Git**
  
 {{:public:gitdefaulteditorinstaller.png?nolink&400|}} {{:public:gitdefaulteditorinstaller.png?nolink&400|}}
Line 24: Line 27:
 //Choisir l'éditeur correspondant, VS Code par défaut. L'éditeur doit déjà être installé.// //Choisir l'éditeur correspondant, VS Code par défaut. L'éditeur doit déjà être installé.//
  
-  * Adjusting your PATH environment+  * **Adjusting your PATH environment**
  
 {{:public:gitpathinstaller.png?nolink&400|}} {{:public:gitpathinstaller.png?nolink&400|}}
  
-  * Configuring the line ending conversions+  * **Configuring the line ending conversions**
  
 {{:public:gitlineendingconversionsinstaller.png?nolink&400|}} {{:public:gitlineendingconversionsinstaller.png?nolink&400|}}
  
-  * Choose a credential helper+  * **Choose a credential helper**
  
 {{:public:gitcredentialhelperinstaller.png?nolink&400|}} {{:public:gitcredentialhelperinstaller.png?nolink&400|}}
 +
 +==== Linux / WSL ====
 +
 +Pour installer Git, il suffit d'installer le paquet via la ligne de commande (penser à faire ''sudo apt update'' avant pour mettre à jour le registre des paquets) :
 +<code>
 +sudo apt install git
 +</code>
 +
 +==== Mac ====
 +
 +Git est normalement installé sur les dernières versions de MacOS. Pour vérifier si il est déjà disponible :
 +
 +<code>
 +git --version
 +</code>
 +
 +Si git n'est pas reconnu, il faut donc l'installer :
 +
 +<code>
 +brew install git
 +</code>
 +
 +Si vous n'avez pas brew, vous pouvez l'installer avec cette commande :
 +
 +<code>
 +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 +</code>
 +===== Créer un compte GitHub =====
 +
 +Une fois Git installé, il peut être utile de créer un compte GitHub. Pour cela, suivre ce lien [[https://github.com/join]].
 +
 +
 +
  
  
  • public/installer_git.1611402886.txt.gz
  • Last modified: 2022/03/18 19:55
  • (external edit)