Commits

Now it's time to start investigating commits.

To verify the commit we have just created, we can use the git log command:

[12] ~/grocery (master)
$ git log
commit a57d783905e6a35032d9b0583f052fb42d5a1308
Author: Ferdinando Santacroce <[email protected]>
Date:   Thu Aug 17 13:51:33 2017 +0200

Add a banana to the shopping list

As you can see, git log shows the commit we did in this repository; git log shows all the commits, in reverse chronological order; we have only a commit for now, but next we will see this behavior in action.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.54.63