Aucun résumé des modifications |
|||
Ligne 9 : | Ligne 9 : | ||
#ex: git fetch origin pull/ID/head:BRANCH_NAME | #ex: git fetch origin pull/ID/head:BRANCH_NAME | ||
git fetch origin pull/45/head:pull_45 | git fetch origin pull/45/head:pull_45 | ||
</syntaxhighlight><br> | |||
== Synchroniser son fork avec la branche principale == | |||
Voir <favorites like="Synchronisation d’une duplication" output="css3link"/> | |||
<syntaxhighlight lang="bash"> | |||
#ex:git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME | |||
git pull https://github.com/jmcameron/attachments master | |||
</syntaxhighlight><br> | </syntaxhighlight><br> | ||
Github est un hébergeur de dépôts git
Je l'utilise à titre personnel https://github.com/JLTRY
#ex: git fetch origin pull/ID/head:BRANCH_NAME git fetch origin pull/45/head:pull_45
#ex:git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME git pull https://github.com/jmcameron/attachments master