Created
March 18, 2016 11:26
-
-
Save ElRochito/d7396ee3388f088c798b to your computer and use it in GitHub Desktop.
Update a fork repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## aller sur votre branche locale | |
git checkout your_branch | |
## ajouter un point d'entrée sur le repo initial | |
git remote add upstream <initial_repo.git> | |
## récupérer les données depuis le repo initial | |
git fetch upstream | |
## mettre à jour les données depuis le repo initial | |
git merge origin/upstream | |
## mettre à jour votre branche distante | |
git push origin <your_branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment