Git restore to remote version

Tags:
Date:

Saturday 23/07/2022

Sometimes I want to reset my git branch to the remote version.

This is how it's done:

git reset --hard 'origin/myBranch

© 2023 Vadim Alakhverdov