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

Git tutorial part 3: tracking file changes

In this video we'll learn how to track changes to files in git, including changing file contents, moving/renaming files, deleting files, and more.
-----------------------
Video content:
0:36 : git add |file|. Adds a file to the staging area.
2:25 : adding multiple changes to the staging area.
2:33 : git commit -m "commit-message". Commits the staging area to a new version. Make sure your commit message is informative and explains the changes that were made!
2:41 : lifecycle of files in git.
3:30 : git mv |old-filename| |new-filename|. Moves or renames the file |old-filename| to |new-filename|. This change is added automatically to the staging area.
3:56 : git rm |filename|. Removes the file |filename|, both from git's tracking and from the filesystem. This change is added automatically to the staging area.
4:16 : git rm --cached |filename|. Removes the file |filename|, only from git's tracking. This change is added automatically to the staging area.
4:52 : git diff --staged. Lists all the changes that were staged. Lines that are marked in red and have the "-" sign before them were deleted, and green lines that have the "+" before them were added.
5:58 : git diff. Lists all the changes that weren't staged yet. Lines that are marked in red and have the "-" sign before them were deleted, and green lines that have the "+" before them were added.
6:22 : git commit -a -m "commit message". Commits changes to tracked files that were not yet staged.
-----------------------
Relevant links:
Git cheatsheet (contains all the commands you need in a single file): https://www.git-tower.com/blog/git-cheat-sheet
The complete git tutorial playlist: https://www.youtube.com/playlist?list=PLuHmgt1HXB7CeioMqPMDgw5L3vYcWfqGT
In depth git tutorial: https://git-scm.com/docs/gittutorial
Better Git It In Your Soul: https://www.youtube.com/watch?v=hpZTtaWqxsQ
Note that you can use git on Windows and Mac too, if you follow these instructions: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
The command-line usage is exactly the same as shown in the videos.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Git tutorial part 3: tracking file changes», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

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

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

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