Git tutorial part 2: repository initialization
In this video we'll cover setting up user info, repository initialization, status, adding files, committing, viewing the commit tree, and using help.
-----------------------
Video content:
0:54 : git config --global user.name "|username|". Configures your username to be |username|.
1:10 : git config --global user.email "|email|". Configures your email to be |email|.
1:22 : git config --list. Shows all configured parameters.
2:28 : git init. Initializes an empty git repository.
2:58 : git status. Prints the current status of the repository, usually with hints from git.
3:06 : git add |filename|. Adds an untracked file named |filename| to the repository.
3:20 : git commit. Commits changes to a new version.
4:26 : .gitignore file. This file lets git know which files to ignore, simply add filenames/wildcards to the .gitignore file, and they will be ignored.
5:50 : git add -A. Adds all files to tracking.
6:32 : git log --oneline --graph --decorate --all. Shows the version tree.
7:33 : git help |command|. Presents the help page for the given command.
-----------------------
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 2: repository initialization», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.