Maintenir un fork a jour

Cloner et maintenir a jour votre fork a partir de l’original en 3 commandes

Clone le fork

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

Ajout du depot original dans les sources

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream

Mise a jour du fork a partir de l’original

git pull upstream master


comments powered by Disqus