Réinitialiser et synchroniser le référentiel local avec une branche distante
# You may also add as an alias in your .gitconfig file:
alias resetorigin = git fetch origin && git reset --hard origin/master && git clean -f -d
alias resetupstream = git fetch upstream && git reset --hard upstream/master && git clean -f -d
# then type
git resetupstream
# or
git resetorigin
AttractivePenguin