“git restablece la confirmación inicial” Código de respuesta

RESTACIÓN DE GIT para comprometerse

# reset to specefic commit
git reset --hard <commit id>

# to go back one step 
git reset --hard HEAD~1

# note: use --soft to keep file changes
Fahim Foysal

git restablece la confirmación inicial

git update-ref -d HEAD
Disturbed Deer

Restablecer para comprometerse

# rollback to commit state
git revert --no-commit 0766c053..HEAD
git commit
Inexpensive Ibex

Restablecer para comprometerse

# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
Inexpensive Ibex

Restablecer Commit Git

reset commit
Agreeable Addax

Respuestas similares a “git restablece la confirmación inicial”

Preguntas similares a “git restablece la confirmación inicial”

Más respuestas relacionadas con “git restablece la confirmación inicial” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código