Git tutorial part 6: remote repositories
In this video we'll learn how to fetch, pull and push to remote repositories, and how to open them in github.
-----------------------
Video content:
0:00 - 0:48 : Introduction.
1:00 : Opening a remote repository using github-based websites.
1:13 - 1:45 : git clone |url|. Clones a remote repository that is stored in |url.
2:12 - 2:42 : Local changes are not updated automatically in the remote repository, and vice versa.
2:43 - 2:56 : Differences between fetch and pull - fetch requires us to merge the changes, pull performs both a fetch and a merge.
3:00 : git remote -v. Shows all remote repositories.
3:26 : git remote add |remote-name| |remote-url|. Adds a new remote repository that will be called |remote-name| and that can be accessed using |remote-url|.
3:48 : git push |remote-name|. Pushes changes from the local repository to the remote repository called |remote-name|.
5:04 : git fetch |remote-name|. Fetches changes to the local repository from the remote repository called |remote-name|. Merging them to the master will be required afterwards.
6:14 : : git pull |remote-name|. Pulls changes to the local repository from the remote repository called |remote-name|. Merging them to the master will be required afterwards.
-----------------------
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 6: remote repositories», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.