Ignore local commits and pull repository from the remote branch

less than 1 minute read

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

Leave a comment