ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Learning GIT - Lesson 10 - How to View Your Commit History. Working with GIT LOG

introduction

beginner

Git (Revision Control Software)

git

GitHub (Website)

windows

Unix (Software)

GNU\\\/Linux (Operating System)

linux

tutorial

learntocode

Software Development (Industry)

source control

branching

merging

git tutorial

learn git

how to use git

learning git for beginners

github tutorial

git basic commands

git commit to branch

git branching tutorial

git merge branch

git merge conflict

c0deporn

codeporn

dustin davis

Software (Industry)

Автор: Eduard G

Загружено: 2017-06-26

Просмотров: 494

Описание: GIT Tutorial - Lesson 10 - How to View Your Commit History. Working with GIT LOG

This video takes a look at some of the plethora of options that git log’s has at its disposal.

If you want more functionality and a cleaner screen, you can use git log with any of the following options.

Oneline
The --oneline option tries to reduce the size of each commit to a single line. By default, it shows only the commit ID and the first line of the commit message. If you type git log --oneline, your output will look like this:

$ git log --oneline
5b582a7 Recursively committing all these files!
96ae40e This is another commit!
fd5ccfc This is my second commit
62409e5 This is my first commit!

Decorate
So far, we've only worked with the master branch, but as you'll see later on in the tutorial when we'll be working with multiple branches, it’s useful to know which branch or tag each that commit is associated with. The --decorate flag makes git log display all of the references that point to each commit. If you use it with git log, it will show:

commit 5b582a72bf75c23443009a894b039449722a45ca HEAD master
Author: Eduard [email protected]
Date: Sat Jul 30 15:26:31 2016 +0100

Recursively committing all these files!

commit 96ae40e26225ffe882817b2d30a8ea13379bb673

Graph
This commands draws a text-based graphical representation of the commit history on the left hand side of the output. So let's run it and see.

commit 5b582a72bf75c23443009a894b039449722a45ca
| Author: Eduard [email protected]
| Date: Sat Jul 30 15:26:31 2016 +0100
|
| Recursively committing all these files!
|
commit 96ae40e26225ffe882817b2d30a8ea13379bb673
| Author: Eduard [email protected]
| Date: Sat Jul 30 14:55:34 2016 +0100
|
| This is another commit!
|
commit fd5ccfc31e93e15403e15ecfbdb742b9d20e299d
| Author: Eduard [email protected]
| Date: Sat Jul 30 12:38:00 2016 +0100
|
| This is my second commit
|
commit 62409e5e9f1a48b149b088676afaa266bf40fc7e
Author: Eduard [email protected]
Date: Sat Jul 30 12:34:07 2016 +0100

This is my first commit!

And of course, you could use all of them in the same command like I have shown you in the video.

Since, after, before
Could be used with git log to filter git commits based on a period of time. See the video for more details.

Viewing commit history for a single file
$ git log -- fileName
This command allows you to view the commit history for a specific file.

Viewing commit history for specific author
$ git log --author="Eduard"

These are the main git log options I have used in my experience with git, and even though there's a plethora of other options, I don't you'll need others than the ones mentioned in this video.

It was my pleasure to show you these GIT tricks, so if you enjoyed them don't forget to subscribe. Thanks.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Learning GIT - Lesson 10 - How to View Your Commit History. Working with GIT LOG

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Learning GIT - Lesson 11 - How to Rename and Move Files and Record Changes to GIT

Learning GIT - Lesson 11 - How to Rename and Move Files and Record Changes to GIT

Что такое Git для Начинающих / GitHub за 30 минут / Git Уроки

Что такое Git для Начинающих / GitHub за 30 минут / Git Уроки

Ibiza Summer Mix 2024 🍓 Best Of Tropical Deep House Music Chill Out Mix 2023 🍓 Chillout Lounge

Ibiza Summer Mix 2024 🍓 Best Of Tropical Deep House Music Chill Out Mix 2023 🍓 Chillout Lounge

Git and GitHub Tutorial for Beginners

Git and GitHub Tutorial for Beginners

⚡️ Удар «Кинжалами» по Киеву || Убит подчинённый президента

⚡️ Удар «Кинжалами» по Киеву || Убит подчинённый президента

React Course - Advanced - SEO

React Course - Advanced - SEO

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Новая страна вступает в войну / Войска готовятся к отправке

Новая страна вступает в войну / Войска готовятся к отправке

Владимир Сорокин о «Сказке», реальности и запахе свободной литературы

Владимир Сорокин о «Сказке», реальности и запахе свободной литературы

Feeling Good Mix - Emma Péters, Carla Morrison

Feeling Good Mix - Emma Péters, Carla Morrison

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]