fixed an old view problem

This commit is contained in:
Yann Esposito (Yogsototh) 2013-02-07 17:06:36 +01:00
parent ed31617529
commit 7dc3d67b46
2 changed files with 12 additions and 12 deletions

View file

@ -20,14 +20,14 @@ Here is one from many way to use [Git][git]. This method is sufficient to work o
Work with [Git][git] immediately:
+ Get modification done by others <span class="black">`git pull`</span>,
+ See details of these modifications <span class="black">`git log`</span>,
+ Get modification done by others `git pull`,
+ See details of these modifications `git log`,
+ Many times:
+ *Make an atomic modification*
+ Verify details of this modification: <span class="black">`git status`</span> and <span class="black">`git diff`</span>,
+ Add some file to be versionned if necessary:<br/><span class="black">`git add [file]`</span>,
+ Save you modifications <br/><span class="black">`git commit -a -m "message"`</span>,
+ Send your modifications to others: <span class="black">`git push`</span> (redo a `git pull` if push return an error).
+ Verify details of this modification: `git status` and `git diff`,
+ Add some file to be versionned if necessary:<br/>`git add [file]`,
+ Save you modifications <br/>`git commit -a -m "message"`,
+ Send your modifications to others: `git push` (redo a `git pull` if push return an error).
With these few commands you can use [Git][git]. Even if it is sufficient, you need to know one more thing before really begin ; How to manage *conflicts*.

View file

@ -17,14 +17,14 @@ Voici une parmi de nombreuses autres façon d'utiliser [Git][git]. Cette méthod
La façon immédiate de travailler avec [Git][git] :
+ récupérer les modifications des autres <span class="black">`git pull`</span>
+ voir les détails de ces modifications <span class="black">`git log`</span>
+ récupérer les modifications des autres `git pull`
+ voir les détails de ces modifications `git log`
+ Plusieurs fois:
+ *Faire une modification atomique*
+ verifier le details de ses modifications <span class="black">`git status`</span> et <span class="black">`git diff`</span>
+ indiquer si nécessaire que de nouveaux fichiers doivent être *versionnés* <span class="black">`git add [file]`</span>
+ enregistrer ses modifications <br/><span class="black">`git commit -a -m "message"`</span>
+ envoyer ses modifications aux autres <span class="black">`git push`</span> (refaire un `git pull` si le push renvoie une erreur).
+ verifier le details de ses modifications `git status` et `git diff`
+ indiquer si nécessaire que de nouveaux fichiers doivent être *versionnés* `git add [file]`
+ enregistrer ses modifications <br/>`git commit -a -m "message"`
+ envoyer ses modifications aux autres `git push` (refaire un `git pull` si le push renvoie une erreur).
Voilà, avec ces quelques commandes vous pouvez utiliser [Git][git] sur un projet avec d'autres personnes. Même si c'est suffisant, il faut quand même connaître une chose avant de se lancer ; la gestion des *conflits*.