Skip to content

Instantly share code, notes, and snippets.

@ljchuello
Created August 2, 2019 03:15
Show Gist options
  • Save ljchuello/63e77306591feb44c9cb257bd9e8e063 to your computer and use it in GitHub Desktop.
Save ljchuello/63e77306591feb44c9cb257bd9e8e063 to your computer and use it in GitHub Desktop.
Elimina el ultimo commit remoto
# Eliminar ultimo commit remoto local
git reset --hard HEAD^
# Actualizar código sin el ultimo commit
git push origin -f
# Estos comandos deben de ejecutarse de forma independiente
@maryAlc2022
Copy link

maryAlc2022 commented Mar 14, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment