vendredi 29 mars 2019

git : reset your branch to the upstream branch

git checkout yourbranch
git remote add upstream https://.......
git fetch upstream
git reset --hard upstream/master
# take care, this will delete all your changes on your forked yourbranch
git push origin yourbranch --force

https://stackoverflow.com/a/42332860

Aucun commentaire:

Categories