Ignore local commits and pull repository from the remote branch Just ignore the local commits and pull from the branch! Reset: git reset --hard origin/master Pull changes git pull origin master