Git -- force pull

Edward Ziadeh • 20 February 2019
Blog in group Git

Before you do this command you should know that these command will remove any local change.

git fetch --all

git reset --hard origin/master

The fetch --all command will download the latest updates.

and the second command will reset the master to what you have fetched.