« Git/Travailler avec Git local et un dépôt Subversion distant » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 97 :
git merge branche1 branche1-locale
</source>
La construction contient ensuite les changements du tronc, branche1 et branche1-locale !
 
Il est possible de conserver plusieurs branches locales dont une avec les tests. Cette approche peut être développée avec une branche par sujet dans un arbre :
Now build contains the changes from trunk, foo, and foo-local! Often I'll keep several local branches. Perhaps one branch
has your local configuration changes, and another has extra debugging statements. You can also use this approach to build
with several topic branches in the tree at once:
 
<source lang="bash">
git merge topic1sujet1 topic2sujet2 config debug...
</source>
 
Malheureusement, la fusion de cette pieuvre ne résout pas les conflits. Dans ce cas il faut appliquer les fusions une par une :
Unfortunately, the octopus merge is rather dumb about resolving conflicts. If you get any conflicts, you'll have to perform
the merges one at a time:
 
<source lang="bash">
git merge topic1sujet1
git merge topic2sujet1
git merge local
...