git descartar cambios locales
# Discarding local changes (permanently) to a file:
git checkout -- <file>
# Discard all local changes to all files permanently:
git reset --hard
cómo eliminar cambios de archivos en git
git clean -df
git checkout -- .
git remove my local changes and pull from master
git reset --hard <your commit hash key>