fr:develop:collaboration:dev:git

Differences

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

fr:develop:collaboration:dev:git [2021/11/17 11:34] qroyerfr:develop:collaboration:dev:git [2021/11/17 15:50] qroyer
 1:  1:
 ====== Utilisation de GIT ====== ====== Utilisation de GIT ======
  
-  * Clonage du projet Github en local+  * Configuration de git : 
 + 
 +  git config --global user.name "John Doe" 
 +  git config --global user.email johndoe@example.com 
 + 
 +  * Clonage du projet Github en local :
  
   git clone https://github.com/YannIrstea/habby   git clone https://github.com/YannIrstea/habby
 +
 +  * Clonage du projet Github en local avec autoritsation de modification sur Github :
 +
 +  git clone https://<TOKEN KEY>@github.com/YannIrstea/habby.git
 +
 +  * Unordered List ItemQuelques exemples:
 +
 +  git status : connaitre l'état actuel du projet
 +  git checkout dev1 : changer de branche vers la branche 'dev1' du projet
 +  git checkout master : changer de branche pour revenir à la branche master du projet
 +  git pull : mettre à jour le projet local avec les dernières modifications disponible sur Github
 +  git gui : ouvrir l'interface graphique de git pour réaliser les 'commits'
 +  git push : mettre à jour le projet sur Github avec les dernières modifications du projet en local (nécessite une autorisation avec une clef TOKEN)
  
  
 {{indexmenu_n>4}} {{indexmenu_n>4}}
  
  • fr/develop/collaboration/dev/git.txt
  • 2021/11/17 15:53
  • qroyer