Git restore to remote version
Saturday 23/07/2022
·1 min readShare:
Sometimes I want to reset my git branch to the remote version.
This is how it's done:
git reset --hard 'origin/myBranch
Share:
Saturday 23/07/2022
·1 min readSometimes I want to reset my git branch to the remote version.
This is how it's done:
git reset --hard 'origin/myBranch