Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| fr:develop:collaboration:dev:git [2021/11/17 11:34] – qroyer | fr:develop:collaboration:dev:git [2021/11/17 15:53] (current) – qroyer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Utilisation de GIT ====== | ====== Utilisation de GIT ====== | ||
| - | * Clonage du projet Github en local | + | |
| + | |||
| + | git config --global user.name "John Doe" | ||
| + | |||
| + | * Configuration adresse mail ou adresse mail du compte Github : | ||
| + | |||
| + | git config --global user.email johndoe@example.com | ||
| + | |||
| + | | ||
| git clone https:// | git clone https:// | ||
| + | |||
| + | * Clonage du projet Github en local avec autoritsation de modification sur Github : | ||
| + | |||
| + | git clone https://< | ||
| + | |||
| + | * Unordered List ItemQuelques exemples: | ||
| + | |||
| + | git status : connaitre l' | ||
| + | git checkout dev1 : changer de branche vers la branche ' | ||
| + | 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' | ||
| + | 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> | {{indexmenu_n> | ||