“Restablecer Git Head a Remote” Código de respuesta

Restablecer Git Head a Remote

git fetch origin
git reset --hard origin/master
Wild Weevil

git restablece difícil a remoto

git reset --hard origin/master; git commit -m 'reset to remote';git push --force local dev
Impossible Impala

git restablece la cabeza para cometer un control remoto

 git reset --hard <commit-hash> #Please double check your commit hash
 git push -f origin master # this will force update and remove commits after this one
Kirk-Patrick Brown

Respuestas similares a “Restablecer Git Head a Remote”

Preguntas similares a “Restablecer Git Head a Remote”

Más respuestas relacionadas con “Restablecer Git Head a Remote” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código