Outils pour utilisateurs

Outils du site


git

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
git [2025/05/06 13:20] – nicoantogit [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)
 +<code>
 +git fetch
 +</code>
  
   * Liste des branches   * Liste des branches
Ligne 138: Ligne 143:
  
 [[https://help.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases|Working with SSH key passphrases]] [[https://help.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases|Working with SSH key passphrases]]
 +
 +===== Pour Stellantis =====
 +
 +==== Génération du package OnePart Central ====
 +
 +Dans GitBash, depuis le répertoire /E/Exalead/Projects/stla/onepart-central, lancer la commande :
 +<code>
 +mvn clean package -P skip_reports
 +</code>
 +
 +==== Changement de branche ====
 +
 +Pour changer de branche
 +
 +<code>
 +$ git branch -r
 +> origin/R1.0_bugfixes
 +> origin/R1.1_bugfixes
 +> origin/R_1.3_Bugfixes
 +> origin/main
 +
 +$ git checkout R_1.3_Bugfixes
 +> branch 'R_1.3_Bugfixes' set up to track 'origin/R_1.3_Bugfixes'.
 +> Switched to a new branch 'R_1.3_Bugfixes'
 +
 +$ git status
 +> On branch R_1.3_Bugfixes
 +
 +</code>
 +
 +Pour pousser dans la branche
 +
 +<code>
 +$ git push origin R_1.3_Bugfixes
 +</code>
 +
 +
git.1746537654.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki