Загрузка страницы

Full Git Tutorial (Part 7) - Git Log Fully Explained

Twitter: https://twitter.com/ben_kadel
Github: https://github.com/kardelio

PART 7 of my Git Tutorial Series... (More videos to come in the future)

This is the SEVENTH video in a series of videos on Git, the sixth video can be found here:
https://youtu.be/XmIlJYdBgvc
And the Playlist itself is here:
https://www.youtube.com/watch?v=58zsLtwzL60&list=PL3Y9MECuxct0RMwdYcqoIjo-7ncRpTNLs

The previous videos have essentially covered the basic git flow, that I believe is the basic required knowledge for anyone use Git. So NOW in the future videos in this series, I will start to cover "EXTRA" things, things that are extremely useful and maybe lesser known that will 100% enhance your Git experience and will highlight more and more of how Git REALLY works under the hood!

In this particular video (Part 7) I explain all about the incredibly important and insanely useful command that is of course GIT LOG.
This command, with it's very basic usage, enables you to see a list of commits, with their author's, date's and commit message's in order (Newest at the top) that have combined together to create the state of the currently checked out branch... AKA Git log shows you the commits in this branch.

However Git Log has a huge array of additional functionality, hence why this video is so long...

Before covering the useful and lesser known parts of the git log command, I cover fully what the actual command does and explain to you what the output means and why it is the way that it is. Really important piece of information at 06:30 [Super useful to know this bit]

After the important introduction explanation, I then break it down into 2 sections:

* Formatting - How git log presents the information back to you, how it looks, how its structured, the ordering and much more... (Starts at 08:24)
In this section I show you a bunch of different formatting options, that can actually be combined together, to change the way that git log outputs and enables you to begin to tailor how you see the results. Some of these formatting options, like. --parents, actually begin to expose to us a little bit more about how Git actually works under the hood too!

* Filtering - What information git log delivers back to you, enabling you to filter the results and not see ALL the commits but instead see the ones that are relevant to you... (Starts at 22:33)
In this section I show you an array of different filtering options that git gives you to "commit limit" (limit the commits that are included in the output) and show you extremely useful ways to see the commits that are important to you, that will quickly and efficiently get you "up-to-speed" with the history of the repository!

Don't forget you can use the Timestamps below to jump to specific sections of this video that are interesting to you!

Timestamps ======================

00:00 - Intro
02:25 - Git Log Introduction
03:19 - Terminal Git Log command
04:48 - Using a pager
06:07 - Git Log ordering explained (Important)
08:24 - Git Log Formatting Section
08:42 - Abbrev-commit (Formatting)
08:53 - Dates (Formatting)
09:22 - Oneline (Formatting)
09:53 - Stat (Formatting)
11:10 - Parents (Formatting)
13:16 - Graph (Formatting)
14:35 - All (Formatting)
16:08 - Custom --format (Formatting)
18:30 - Man page for Git Log
22:33 - Git Log Filtering Section
23:12 - Last X commits (Filtering)
23:25 - By Author (Filtering)
23:52 - Grep Commit message (Filtering)
24:30 - By Date (Filtering)
24:26 - Date: Since (Filtering)
25:16 - Date: Before & After (Filtering)
26:16 - Commit ranges (Filtering)
29:00 - Outro
30:38 - Bloopers
Links ======================

Git Log Cheatsheet (useful) [Including --format placeholder list]:
https://devhints.io/git-log

Git Log --Pretty options:
https://www.edureka.co/blog/git-format-commit-history/

Atlassian Git Log tutorial:
https://www.atlassian.com/git/tutorials/git-log

Online version of Git Log (PRETTY FORMATS) man page:
https://git-scm.com/docs/pretty-formats

Link to find git downloads and install...
https://git-scm.com/downloads

Some more awesome links to help you on your git journey...
https://rogerdudler.github.io/git-guide/
https://learngitbranching.js.org/
http://git-school.github.io/visualizing-git/
https://guides.github.com/introduction/git-handbook/

-------------------------------------
Tools:
-------------------------------------
Video Editing: https://www.blackmagicdesign.com/products/davinciresolve/
Image Editing: https://www.gimp.org/
Camera: Canon M50

-------------------------------------
Credits:
-------------------------------------
Intro Card Music: https://www.purple-planet.com
Sound-Effects: http://soundbible.com/
In Video Background: Photo by Adrien Olichon from Pexels
In-Video Backgrounds Effects: Video from videezy.com
Thumbnail Background: Pexels.com (No Attribution Required)

Vid: 47

#git #tutorial #terminal

Видео Full Git Tutorial (Part 7) - Git Log Fully Explained канала Ben Kadel
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 мая 2021 г. 14:58:00
00:31:17
Яндекс.Метрика