domingo, 22 de noviembre de 2020

GIT Demystifying part 5, git reset --soft HEAD~

 GIT Demystifying part 5

git reset --soft HEAD~

This command will set the HEAD on his parent, and the working directory and the Stage will have the state of the HEAD commit, with the files staged. ready to commit, or modify and commit.



After the command the files are of the commit 3, a ready to commit.


Secuence diagram of the procedure.



procedure of the 3 commits



After git reset --soft HEAD~, procedure on command line.



eot

No hay comentarios:

Publicar un comentario