RUVIDEO
Поделитесь видео 🙏

Commit History [Learn Git Video Course] смотреть онлайн

Learn all about the Commit History in Git. This video is part of our free 24-part video course on Learning Git on the Command Line.
Subscribe ► https://www.youtube.com/channel/UCrl5xG-L4ZCFkR-bhUy9BVg?sub_confirmation=1

***************************************

Additional Git tutorials and resources

Learn Git on the Command Line: a free 24-part video course ► https://www.youtube.com/playlist?list=PLyCj4RCToz5DRDx3sJ4iW9i8D2G8OdHYH

Surviving with Git: https://www.youtube.com/playlist?list=PLyCj4RCToz5AKiAKycmAZcTZron_yANQT

More Productive in Git with Tower: https://www.youtube.com/playlist?list=PLyCj4RCToz5A_1RzK7MfNHSQr65FxmSGR

***************************************

Welcome to our video series on learning version control with Git. Today, we'll take a look at our project's commit history.

Git saves every commit that is ever made in the course of a project. This enables you to roll back to any earlier version at any time - even for only a single file.
And, even more importantly, it simply allows you to understand how the project evolved.

Let's take a look at what happened recently in our project.

The "git log" command shows us the history of commits in our project. It lists the commits in chronological order, beginning with the newest item.

Let's look at one of these in detail: At the bottom, you see the message that was entered for the commit. Then, there's the time and date when it happened. And the name and email of the person that made it. At the top, there's the so-called "commit hash".

This is a unique identifier for the commit. In centralized version control systems like Subversion or CVS, a simple ascending revision number is used for this. However, this is simply not possible anymore in a distributed VCS like Git: The reason herefore is that, in Git, multiple people can commit their work offline, without being connected to a central server. In this scenario, you can't say anymore whose commit is #5 und whose is #6.

In most projects, however, the first 7 characters of the hash are enough for it to be unique. So it's safe and very common to refer to a commit using a shortened version of this 40-character monster.

The plain "git log" gives you a broad overview of recent commits. However, you can request to see more than just this kind of metadata.
With the "--stat" parameter, the files that were changed are also listed.

And with the "-p" parameter, finally, you'll even see the individual changes in detail. "P" stands for "Patch", a synonym for the Diff of changes.

Here's a little trick: if there's more content available than would fit on the current page, the command line indicates this by showing a colon (":") at the end. Press the SPACE key to see the next page or the "q" key to quit the output.

That's it for today. Thanks for watching - and see you in our next videos!

SUBSCRIBE to learn more about Git, Tower & how to become a better developer!
https://www.youtube.com/channel/UCrl5xG-L4ZCFkR-bhUy9BVg?sub_confirmation=1

For more free ebooks, cheat sheets, and video tutorials make sure to check out our FREE learning platform! https://www.git-tower.com/learn/

STAY UP-TO-DATE:
Tower: https://www.git-tower.com
Twitter: https://twitter.com/gittower
Facebook: https://www.facebook.com/gittower

#git #learngit #gittutorial

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Commit History [Learn Git Video Course]» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.