Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian".
upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian".
upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos".
upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum".
upgrade now! [54.2] (what's this?)
git-commandes-courantes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git-commandes-courantes [2022/05/10 14:23] – 172.16.7.218 | git-commandes-courantes [2024/02/23 16:29] (current) – 195.221.243.134 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| $ git add . | $ git add . | ||
| $ git commit -m ' | $ git commit -m ' | ||
| - | $ git remote add origin root@adam:/ | + | $ git remote add origin root@adam.univ-lemans.fr:/ |
| $ git push origin master | $ git push origin master | ||
| </ | </ | ||
| Line 18: | Line 18: | ||
| ===Cloner le depot distant=== | ===Cloner le depot distant=== | ||
| < | < | ||
| - | git clone root@adam:/ | + | git clone root@adam.univ-lemans.fr:/ |
| </ | </ | ||
| **ATTENTION: | **ATTENTION: | ||
| Line 32: | Line 32: | ||
| ===Mettre à jour à partir du depot distant=== | ===Mettre à jour à partir du depot distant=== | ||
| < | < | ||
| - | Se mettre dans le bon répertoire | + | Se mettre dans le bon répertoire |
| $ git pull origin master | $ git pull origin master | ||
| </ | </ | ||
| + | |||
| + | ===" | ||
| + | < | ||
| + | $ git checkout | ||
| + | </ | ||
| + | |||
| + | Crer une branche | ||
| + | < | ||
| + | git branch testing | ||
| + | </ | ||
| + | Basculer sur la nouvelle branche testing | ||
| + | < | ||
| + | git checkout testing | ||
| + | </ | ||
| + | Pour créer et basculer | ||
| + | < | ||
| + | git checkout -b testing | ||
| + | </ | ||
| + | Pour reporter les changement fait dans testing dans la branche master | ||
| + | < | ||
| + | $ git checkout master | ||
| + | $ git merge testing | ||
| + | </ | ||
| + | Effacer la branche testing: | ||
| + | git branch -d testing | ||
| + | |||
| + | |||
git-commandes-courantes.1652192586.txt.gz · Last modified: 2023/09/28 12:26 (external edit)