Curso de git #11 - Git reset Mixed

in #spanish9 years ago (edited)


Hola a todos, espero que se encuentren muy bien!

En este nuevo post vemos otra opción que tiene el git reset, y es el git reset mixed.

Este comando $ git reset --mixed idCommit nos sirve para borrar commits y devolvernos a uno en especifico pero sin borrar lo que se ha trabajado en el working local es decir el código de nuestros archivos que se hayan modificado no se quitaran, esto se usa mucho si lo que quiero es devolverme en el tiempo y realizar un solo commit por varios commits que haya hecho en el proyecto.

Es una opción que se usa en muchos casos y creo que es importante que la conozcamos.

Saludos!

Sort:  

Este Post ha recibido un Upvote desde la cuenta del King: @dineroconopcion, El cual es un Grupo de Soporte mantenido por 5 personas mas que quieren ayudarte a llegar hacer un Top Autor En Steemit sin tener que invertir en Steem Power. Te Gustaria Ser Parte De Este Projecto?

This Post has been Upvote from the King's Account: @dineroconopcion, It's a Support Group by 5 other people that want to help you be a Top Steemit Author without having to invest into Steem Power. Would You Like To Be Part of this Project?

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by juanpchica from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

This post has been ranked within the top 10 most undervalued posts in the first half of Sep 12. We estimate that this post is undervalued by $56.72 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: Sep 12 - Part I. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.