Last Updated: February 25, 2016
·
321
· lishamatish

Revert branch to its remote state.

git reset—hard origin/$branch

Careful now.
This will basically make your local branch the same as the remote one. That means all local changes and new files as gone. Byebye files! So be careful.