lunes, 26 de septiembre de 2022

Remove commit from GIT

remove last pushed commit from local: git reset --hard HEAD~1
update remote branch removing last pushed commit: git push origin HEAD --force

source: hackernoon

No hay comentarios:

Publicar un comentario