git
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| git [2025/05/06 13:20] – nicoanto | git [2026/09/29 08:07] (Version actuelle) – nicoanto | ||
|---|---|---|---|
| Ligne 34: | Ligne 34: | ||
| ==== Commandes de branches ==== | ==== Commandes de branches ==== | ||
| + | |||
| + | * MAJ des données git sans merge (utilie pour avoir la liste des branches) | ||
| + | < | ||
| + | git fetch | ||
| + | </ | ||
| * Liste des branches | * Liste des branches | ||
| Ligne 138: | Ligne 143: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ===== Pour Stellantis ===== | ||
| + | |||
| + | ==== Génération du package OnePart Central ==== | ||
| + | |||
| + | Dans GitBash, depuis le répertoire / | ||
| + | < | ||
| + | mvn clean package -P skip_reports | ||
| + | </ | ||
| + | |||
| + | ==== Changement de branche ==== | ||
| + | |||
| + | Pour changer de branche | ||
| + | |||
| + | < | ||
| + | $ git branch -r | ||
| + | > origin/ | ||
| + | > origin/ | ||
| + | > origin/ | ||
| + | > origin/main | ||
| + | |||
| + | $ git checkout R_1.3_Bugfixes | ||
| + | > branch ' | ||
| + | > Switched to a new branch ' | ||
| + | |||
| + | $ git status | ||
| + | > On branch R_1.3_Bugfixes | ||
| + | |||
| + | </ | ||
| + | |||
| + | Pour pousser dans la branche | ||
| + | |||
| + | < | ||
| + | $ git push origin R_1.3_Bugfixes | ||
| + | </ | ||
| + | |||
| + | |||
git.1746537654.txt.gz · Dernière modification : (modification externe)
