Curso de git #14 - Git checkout
Hola a todos espero que se encuentren muy bien! 🤗 🤓 😎
En este post veremos un comando muy importante cuando usamos git.
Git checkout es un comando que nos permite movernos en el tiempo de nuestro proyecto, es decir podemos movernos entre commits y así poder por ejemplo regresar a un punto específico de nuestro proyecto, en caso de que queramos por ejemplo ver en que estado estaba nuestro proyecto en cierta fecha o commit, también lo usamos para desplazarnos entre ramas pero esto ya lo veremos más adelante.
$ git checkout commitId
Como vemos en la imagen esos son los commits que he realizado en el proyecto, pero por ejemplo si ahora quisiera desplazarme al commit donde puse el primer parrafo, lo que hago es esto... 🤗 🤓 😎
Como ven una vez ejecuto el comando me sale que ya estoy en ese commit , si visualizo nuevamente el git log, veo que ya nos están los commits desde ese en adelante..
Y básicamente ese es todo el funcionamiento de este comando pero es muy importante y útil.
Saludos! 🤗 🤓 😎
Que bueno este post
Gracias amigo!
de nada sigue subiendo ese contenido me interesa
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.
Hola el equipo de https://steemclub.online os invita a participar en la comunidad abierta de Steemians. Crea tus propios grupos o únete a uno ya existente. Nos vemos en Steemclub.
This post has been ranked within the top 10 most undervalued posts in the first half of Sep 15. We estimate that this post is undervalued by $78.22 as compared to a scenario in which every voter had an equal say.
See the full rankings and details in The Daily Tribune: Sep 15 - 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.