create account

Curso de git #8 - Git log by juanpchica

View this thread on: hive.blogpeakd.comecency.com
· @juanpchica · (edited)
$0.28
Curso de git #8 - Git log
<center>

Hola a todos, espero que estén muy bien!🤗  🤗  

En este post les explicare un poco sobre un comando muy importante usado en git, y que nos sirve para revisar el historial de cambios de nuestro proyecto.

![](https://steemitimages.com/DQmfWYGtxhammzi2gMJHn323yBApWSYj1mjJMma3P3kznpi/image.png)

Bueno continuaremos con el proyecto de prueba que creamos en el post anterior, donde en el momento solo hemos creado un archivo `index.html`


## git log

Bueno, primero abrimos nuevamente el editor de código y crearemos la estructura básica de una página html...

![](https://steemitimages.com/DQmQpn7CYrofWRuX7roHUXntRmKJmLKNByA5Qihazidm3oP/image.png)

Como vemos ya hemos modificado algo en nuestro proyecto, y son las nuevas líneas de código que agregamos en el archivo index.html.

Ahora si abrimos nuestra terminal y nos dirigimos a la raiz de nuestro proyecto veremos el cambio que se ha hecho, como se ve a continuación...

![](https://steemitimages.com/DQmddRShbQJTvZzmhDPH3hRLHeN1xcFWugZknHQXpg4b4iU/image.png)

Primero vamos a agregar nuevamente estos cambios a el `staging area` y lo publicaremos a nuestro repositorio.

![](https://steemitimages.com/DQmTqJZ6qVDfQVGYv9YFM2VENXqj9e6gfeCrDyrUCjuQwi8/image.png)

Ahora que ya tenemos registrado dos cambios en nuestro proyecto, y si necesitamos ver que en realidad si esten registrados, lo que hacemos es ejecutar el comando `$ git log`, donde nos saldrá un listado de cambios que hemos hecho a lo largo del tiempo en nuestro proyecto.

![](https://steemitimages.com/DQmSVKBCVL3oCQpmHmaHC3oXSVz4okmHqSWNt3AYwsXqsbP/image.png)

Como vemos en la imagen, hay dos commits hechos en el proyecto, y nos sale una información por cada cambios registrado en nuestro proyecto, como la fecha y el autor, también el comentario que hicimos al momento de agregar el cambio.

Así de sencillo es que podemos ver un registro de todos los cambios en nuestro proyecto.

Bueno, eso es todo

Saludos! 🤓 🤓


</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 229 others
properties (23)
authorjuanpchica
permlinkcurso-de-git-8-git-log
categoryspanish
json_metadata{"tags":["spanish","dineroconopcion","software","tutorial","git"],"image":["https://steemitimages.com/DQmfWYGtxhammzi2gMJHn323yBApWSYj1mjJMma3P3kznpi/image.png","https://steemitimages.com/DQmQpn7CYrofWRuX7roHUXntRmKJmLKNByA5Qihazidm3oP/image.png","https://steemitimages.com/DQmddRShbQJTvZzmhDPH3hRLHeN1xcFWugZknHQXpg4b4iU/image.png","https://steemitimages.com/DQmTqJZ6qVDfQVGYv9YFM2VENXqj9e6gfeCrDyrUCjuQwi8/image.png","https://steemitimages.com/DQmSVKBCVL3oCQpmHmaHC3oXSVz4okmHqSWNt3AYwsXqsbP/image.png"],"app":"steemit/0.1","format":"markdown"}
created2017-09-07 02:39:39
last_update2017-09-07 02:42:09
depth0
children3
last_payout2017-09-14 02:39:39
cashout_time1969-12-31 23:59:59
total_payout_value0.274 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,959
author_reputation1,274,950,455,757
root_title"Curso de git #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,107,107
net_rshares87,060,031,636
author_curate_reward""
vote details (293)
@dineroconopcion ·
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?
properties (22)
authordineroconopcion
permlinkre-juanpchica-curso-de-git-8-git-log-20170907t025956775z
categoryspanish
json_metadata{}
created2017-09-07 02:59:57
last_update2017-09-07 02:59:57
depth1
children0
last_payout2017-09-14 02:59:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length516
author_reputation23,995,833,646,806
root_title"Curso de git #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,108,255
net_rshares0
@drotto ·
<p>This post has received a 1.56 % upvote from @drotto thanks to: @banjo.</p>
properties (22)
authordrotto
permlinkre-juanpchica-curso-de-git-8-git-log-20170907t031050300z
categoryspanish
json_metadata{"tags":["spanish"],"app":"drotto/0.0.1"}
created2017-09-07 03:11:00
last_update2017-09-07 03:11:00
depth1
children0
last_payout2017-09-14 03:11:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length78
author_reputation419,916,705,599
root_title"Curso de git #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,108,842
net_rshares0
@screenname ·
Re: Curso de git #8 - Git log
<p>This post has been ranked within the top 10 most undervalued posts in the first half of Sep 07. We estimate that this post is undervalued by $60.80 as compared to a scenario in which every voter had an equal say.</p> 
<p>See the full rankings and details in <a href="https://steemit.com/curation/@screenname/the-daily-tribune-most-undervalued-posts-of-sep-07---part-i">The Daily Tribune: Sep 07 - Part I</a>. You can also read about some of our methodology, data analysis and technical details in <a href="https://steemit.com/curation/@screenname/introducing-the-daily-tribune-most-undervalued-posts-of-nov-04---part-i">our initial post</a>.</p>
<p>If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.</p>
properties (22)
authorscreenname
permlinkre-curso-de-git-8-git-log-20170907t132742
categoryspanish
json_metadata"{"replyto": "@juanpchica/curso-de-git-8-git-log"}"
created2017-09-07 13:27:42
last_update2017-09-07 13:27:42
depth1
children0
last_payout2017-09-14 13:27:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length763
author_reputation46,276,338,038,330
root_title"Curso de git #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,150,316
net_rshares0