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
git-commandes-courantes [2023/12/01 14:13] – 195.221.243.132git-commandes-courantes [2024/02/23 16:29] (current) – 195.221.243.134
Line 40: Line 40:
 $ 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.1701439983.txt.gz · Last modified: 2023/12/01 14:13 by 195.221.243.132 · Currently locked by: 216.73.217.114