create account

Git tutorial #8 - Git log by juanpchica

View this thread on: hive.blogpeakd.comecency.com
· @juanpchica ·
$0.42
Git tutorial #8 - Git log
<center>

Hello everybody!🤗  🤗  

In this post I will explain a little about a very important command used in git, and that serves us to review the history of changes of our project.

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

Well we will continue with the test project that we created in the previous post, where at the moment we have only created an `index.html` file

## git log

Well, first we open the code editor again and we will create the basic structure of an html page ...

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

As we see we have already modified something in our project, and are the new lines of code that we added in the file index.html.

Now if we open our terminal and go to the root of our project we will see the change that has been made, as shown below ...

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

First we are going to add these changes again to the `staging area` and we will publish it to our repository.

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

Now that we have already registered two changes in our project, and if we need to see that in reality if they are registered, what we do is execute the command `$ git log`, where we will get a list of changes we have made over time in our project.

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

As we see in the image, there are two commits made in the project, and we get information for each change registered in our project, such as the date and the author, also the comment we made when adding the change.

So simple is that we can see a record of all the changes in our project.

Well that's it

Regards! 🤓 🤓


</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 265 others
properties (23)
authorjuanpchica
permlinkgit-tutorial-8-git-log
categorytutorials
json_metadata{"tags":["tutorials","dineroconopcion","programming","project"],"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:45:48
last_update2017-09-07 02:45:48
depth0
children4
last_payout2017-09-14 02:45:48
cashout_time1969-12-31 23:59:59
total_payout_value0.399 HBD
curator_payout_value0.024 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,838
author_reputation1,274,950,455,757
root_title"Git tutorial #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,107,493
net_rshares131,661,601,671
author_curate_reward""
vote details (329)
@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-git-tutorial-8-git-log-20170907t135616170z
categorytutorials
json_metadata{}
created2017-09-07 13:56:15
last_update2017-09-07 13:56:15
depth1
children0
last_payout2017-09-14 13:56:15
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"Git tutorial #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,152,931
net_rshares0
@minnowsupport ·
<p>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 <a href="https://discord.gg/HYj4yvw">Peace, Abundance, and Liberty Network (PALnet) Discord Channel</a>.  It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.</p>
properties (22)
authorminnowsupport
permlinkre-juanpchica-git-tutorial-8-git-log-20170907t151252131z
categorytutorials
json_metadata{"tags":["tutorials"],"app":"cosgrove/0.0.1rc8"}
created2017-09-07 15:12:51
last_update2017-09-07 15:12:51
depth1
children0
last_payout2017-09-14 15:12:51
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_length611
author_reputation148,902,805,319,183
root_title"Git tutorial #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,159,940
net_rshares0
@phil-coding ·
I just found this awsome post!! I can't wait for the next Git post have a great day
properties (22)
authorphil-coding
permlinkre-juanpchica-git-tutorial-8-git-log-20170907t101730066z
categorytutorials
json_metadata{"tags":["tutorials"],"app":"steemit/0.1"}
created2017-09-07 10:19:06
last_update2017-09-07 10:19:06
depth1
children1
last_payout2017-09-14 10:19:06
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_length83
author_reputation4,773,758,818
root_title"Git tutorial #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,135,784
net_rshares0
@juanpchica ·
Thanks my friend!
properties (22)
authorjuanpchica
permlinkre-phil-coding-re-juanpchica-git-tutorial-8-git-log-20170907t135326092z
categorytutorials
json_metadata{"tags":["tutorials"],"app":"steemit/0.1"}
created2017-09-07 13:53:24
last_update2017-09-07 13:53:24
depth2
children0
last_payout2017-09-14 13:53:24
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_length17
author_reputation1,274,950,455,757
root_title"Git tutorial #8 - Git log"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,152,632
net_rshares0