Skip to content

Instantly share code, notes, and snippets.

@Camilmesfioui
Created October 6, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Camilmesfioui/65cb5da94eef7e35f2df to your computer and use it in GitHub Desktop.
Save Camilmesfioui/65cb5da94eef7e35f2df to your computer and use it in GitHub Desktop.
Installation & Configuration de Git

Git

Installation

Mac OS

Via l'installateur : http://git-scm.com/download/mac

Windows

Installer Git For Windows : https://git-for-windows.github.io/

Linux

Base Debian

# aptitude install git-core

Base Redhat

# yum install git

Compte GitHub

Si vous n'en avez pas déjà un, créez un compte Github. Il vous servira tout au long de votre vie de développeur!

Vous pouvez bénéficier d'un compte Micro gratuit (et plein d'autres cadeaux) en tant qu'étudiants.

Rendez-vous sur GitHub Student Developer Pack https://education.github.com/pack

Configuration

Dans un terminal, entrez les commande ci-dessous.

Sous Windows, le terminal sera le Git Bash que vous venez d'installer.

Sous Mac et Linux, c'est le terminal classique.

Activation des couleurs

$ git config --global color.diff auto
$ git config --global color.status auto
$ git config --global color.branch auto

Édition de votre "profil"

$ git config --global user.name "Prénom Nom" # avec les guillemets
$ git config --global user.email votre_adresse_email_github@domain.ltd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment