User Tools

Site Tools


get:initializing_git

Differences

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

Link to this comparison view

get:initializing_git [2015/11/08 23:04] – created leoget:initializing_git [2015/11/08 23:11] (current) leo
Line 3: Line 3:
 commandes add + commit + diff + status + log -> 75% de ce que l'on fait avec git. commandes add + commit + diff + status + log -> 75% de ce que l'on fait avec git.
  
 +Workflow typique d'un nouveau projet basique
 +
 +**git init**
 +
 +(**git status**)
 +
 +**git log** : dans un projet tout juste initialisé, renvoie une erreur car HEAD ne renvoie à rien.
 +
 +**git add .** : ajoute tous les fichiers
 +
 +(**git status**)
 +
 +**git commit -m "initial commit"**
get/initializing_git.1447020248.txt.gz · Last modified: 2015/11/08 23:04 by leo