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

Full Git Tutorial (Part 4) - Remotes & Pushing

📁 Лайфстайл 👁️ 17 📅 29.11.2023

PART 4 of my Git Tutorial Series... (More videos to come in the future)

This is the FOURTH video in a series of videos on Git, the third video can be found here:
https://youtu.be/vLAdeVkk0Yk
And the Playlist itself is here:
https://www.youtube.com/watch?v=58zsLtwzL60&list=PL3Y9MECuxct0RMwdYcqoIjo-7ncRpTNLs

In this particular video (Part 4) I explain about (arguably) one of the most important parts of git. That is it's ability to upload changes to a "online" (remote / cloud) repository somewhere in order for others to take down that code and work on it together. Multiple people working on a single codebase / project. Not only does it enable this multi-user experience but having a remote repository where your code is centrally stored away from your own machine is useful when it comes to having a backup of the code. Incase something bad happens and the machine you were working on is lost, you have a backup of the code in the cloud.

I show you 2 new very useful commands that are REMOTE and PUSH. These enable your repository to know about a git server (a remote repository) somewhere and of-course can "push" (upload) your code to it, respectively.

We pick up from where we left off after episode 3 in the git series and I go to Github to quickly setup an example remote repository. Speaking of Github, I talk briefly about these 3rd party online git repository providers, others include: Bitbucket, Gitlab, Source-Forge. Most of these are totally free and give you a easy to use git remote repository out-of-the-box and ready to use and, depending on which one your choose, enables other people from around the world to see and contribute to your codebase. But I will cover these remote repository website options in another dedicated video as there is lots to talk about on that front and these 3rd party providers do things slightly differently to one another.

After I set up a remote repository for the project (which you can find at this public url: https://github.com/Kardelio/git_series) I connect it up to our existing repository following and explaining the commands provided by Github (which are 'git remote add' and 'git push') and once my local repo on my machine is connected to the repo repository that is set up I upload the code using the push command and show you the code on the Github website afterwards.

Here are the commands learnt in this video:
git log --oneline
git remote
git remote -v
git remote add [remote-nickname] [url]
git push [remote] [branch]
git push -u [remote] [branch]
git push [remote] [branch] --force (DO NOT RECOMMEND USING THIS)

Links to help you learn more ======================

Git remote repository providers:
https://github.com/
https://bitbucket.org/
https://about.gitlab.com/

Git Remote Command:
https://git-scm.com/docs/git-remote

Working with remotes:
https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes

Git Push Explained
https://www.atlassian.com/git/tutorials/syncing/git-push

Git Push Command:
https://git-scm.com/docs/git-push

The dark-side of force pushing: (Interesting read)
https://willi.am/blog/2014/08/12/the-dark-side-of-the-force-push/

When you use Git Force Push: (Interesting read)
https://stackoverflow.com/questions/44671286/git-when-to-use-force-push

Never Git Force Push: (Interesting read - Advanced)
https://salferrarello.com/never-git-push-force

=============================================

Please stay tuned to the channel and keep an eye out for the next videos in the series...

Link to find git downloads and install...
https://git-scm.com/downloads

Some more awesome links to help you on your git journey...
https://rogerdudler.github.io/git-guide/
https://learngitbranching.js.org/
http://git-school.github.io/visualizing-git/
https://guides.github.com/introduction/git-handbook/

Please reach out to me with ANY questions at all and THANKS for watching, please let me know if there is any other topics that you would like me to cover as I start to slowly add more content to this channel...

Twitter: https://twitter.com/ben_kadel
Github: https://github.com/kardelio

-------------------------------------
Tools:
-------------------------------------
Video Editing: https://www.blackmagicdesign.com/products/davinciresolve/
Image Editing: https://www.gimp.org/
Camera: Canon M50

-------------------------------------
Credits:
-------------------------------------
Intro Card Music: https://www.purple-planet.com
Sound-Effects: http://soundbible.com/
In Video Background: Photo by Adrien Olichon from Pexels
Thumbnail Background: Pexels.com (No Attribution Required)

Vid: 23

#git #tutorial #terminal

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Full Git Tutorial (Part 4) - Remotes & Pushing», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

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

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

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