#git tutorial | Version Control with Git | GIT Branches смотреть онлайн
#git tutorial | Version Control with Git | GIT Branches
Overview
Merging Branches
Git store data as a series of snapshots.
When you make a commit, Git stores a commit object that contains a pointer to the snapshot of the content you staged.
This object contains
the author’s name and email address,
the message that you typed, and
pointers to the commits that directly came before this commit (its parent(s)):
zero parents for the initial commit,
Let’s assume that you have a directory containing three files, and you stage them all and commit.
Staging computes a checksum for each one, stores that version of the file in the Git repository (referred as blobs), and adds that checksum to the staging area:
$ git add README test.rb LICENSE
$ git commit -m 'Initial commit'
When you create the commit, Git checksums each subdirectory and stores them as a tree object in the Git repository.
Git then creates a commit object that has the metadata and a pointer to the root project tree so it can re-create that snapshot when needed.
Your Git repository now contains five objects:
three blobs (representing the contents of one of the three files),
one tree that lists the contents of the directory and specifies which file names are stored as which blobs, and
one commit with the pointer to that root tree and all the commit metadata.
What Is a Branch?
A branch is a copy of the original product release code (original branch).
In a branch, developers can add, modify, update, correct, and bug fix in any code of the branch.
A branch enables users to work on different features and updates at any time without affecting the original source code.
Changes to a branch does not affect the original source code and are safe to test and review.
By default, all Git repositories have one default master ( original code).
As you start making commits, you’re given a master branch that points to the last commit you made.
With every commit, the master branch pointer moves forward automatically.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «#git tutorial | Version Control with Git | GIT Branches» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.