Master Git and GitHub like a Pro: Insider Tips for Your Coding Courses! (Stash, Pop, Diffs,)
Here's some super pro Git and GitHub tips you can use when taking one of my courses or creating your own. You should totally take advantage of everything Git and GitHub can do, and that include diffing, branching and even using the merge conflict features.
Since I always create my course with a branch for how code looks at the beginning and end of each video, you can find out if you've made a mistake.
I love to use a secret built into GitHub where you can add /compare/BRANCH01..BRANCH02 on any repo, to visually see the difference between two branches.
That can be real helpful when taking or preparing a course so you can see what you were supposed to type and copy and paste the finished version of the code for the video.
You can use CodeSpaces with Visual Studio code with git stash and pop if, instead, you want to see where you went wrong.
You can stash the code that's not working in the current branch, then switch to the finished branch, then pop your incorrect code.
It will create a merge conflict that you can use to see where you made a mistake.
If you're creating a tutorial with a lot of complex code in multiple places, the merge conflict is going to be super helpful.
Index
=====
00:00 Intro
00:12 How I'd use it for Taking a Course
00:22 Launching CodeSpaces
00:30 Live Preview React Code
00:41 Switching to the Proper Branch
01:03 Taking Advantage of Diffs
01:36 Making Changes to the Code
02:07 What if I Make a Mistake?
02:25 Identifying the mistake
02:39 Git Stash, Checkout and Pop
02:56 Bad Code Appears in Merge Conflict
Follow Me
=======
Blog: https://raybo.org
LinkedIn: https://www.linkedin.com/in/planetoftheweb
Twitter: https://twitter.com/planetoftheweb
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Master Git and GitHub like a Pro: Insider Tips for Your Coding Courses! (Stash, Pop, Diffs,)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.