Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Created February 20, 2024 16:20
Show Gist options
  • Save ederrafo/a163dbf325f4db1b6366362e74628961 to your computer and use it in GitHub Desktop.
Save ederrafo/a163dbf325f4db1b6366362e74628961 to your computer and use it in GitHub Desktop.
git eliminar commit

ver los comit que vas a eliminar

git log

elimina los ultimos 3 comit en local

git reset --hard HEAD~3

subir la configurarcion local al servidor git

git push origin HEAD --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment