Reset local branch to match remote branch

Resets a local branch to match a remote branch by pulling the most recent changes from the remote branch and then force resetting the local branch to match the remote branch.

Authored by: Dan Moulding
branch

Command
Copy
git fetch origin git reset --hard origin/master
Tags