User Tools

Site Tools


git-commandes-courantes

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git-commandes-courantes [2023/12/01 14:12] – 195.221.243.132git-commandes-courantes [2024/02/23 16:29] (current) – 195.221.243.134
Line 36: Line 36:
 </code> </code>
  
-==Veuillez valider ou remiser vos modifications avant la fusion==+==="Veuillez valider ou remiser vos modifications avant la fusion"===
 <code> <code>
 $ git checkout $ git checkout
 </code> </code>
 +
 +Crer une branche  : 
 +<code>
 +git branch testing
 +</code>
 +Basculer sur la nouvelle branche testing
 +<code>
 +git checkout testing
 +</code>
 +Pour créer et basculer
 +<code>
 +git checkout -b testing
 +</code>
 +Pour reporter les changement fait dans testing dans la branche master
 +<code>
 +$ git checkout master
 +$ git merge testing
 +</code>
 +Effacer la branche testing:
 +git branch -d testing
  
  
  
git-commandes-courantes.1701439931.txt.gz · Last modified: 2023/12/01 14:12 by 195.221.243.132 · Currently locked by: 216.73.217.114