SQL Source Control and VSCode: Handling Git Conflicts
Redgate's Kendra Little demonstrates what conflicts look like in SQL Source Control, and how you may handle these conflicts using free tools in VSCode. In VSCode we show the native Git plugin as well as the free GitLens extension. Chapters:
00:00 Overview of the demo setup
02:07 Demo begins of a merge conflict when working in the same branch as your teammates
03:17 Why conflicts occur as interrupts if we work in the same branch in Git
04:35 Interpreting Git conflict messages in SQL Source Control
05:58 Resolving a merge conflict within your current branch
08:37 Why working in private feature branches is a common practice for Git users
10:42 Traveling back in time with the GitLens extension
12:07 Resetting SQL Source Control after resetting in Git
14:30 Demo begins of working in a feature branch in SQL Source Control, and proactively merging from main when we're ready
15:17 Checking out a new branch in VSCode
18:18 Merge changes from the upstream main branch into our feature branch. Note: I have enabled VSCode to regularly fetch changes for me so I haven't manually 'fetched'
20:38 Resolving the conflict in VSCode
23:40 Staging and committing to complete the merge
25:05 Applying changes we made in VSCode to our dev database in SQL Source Control
26:06 Pushing our changes to the central Git repo and creating a Pull Request
29:00 Approving and completing the Pull Request
*********************
Tools shown
*********************
* SQL Source Control - https://www.red-gate.com/products/sql-development/sql-source-control
* Git (free)- https://git-scm.com/
* VSCode (free) - https://code.visualstudio.com/
* GitLens extension for VSCode (free) - https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
* Azure DevOps - https://dev.azure.com/
*********************
More learning
*********************
Dig into how SQL Source Control works behind the scenes: https://documentation.red-gate.com/soc/reference-information/how-sql-source-control-works-behind-the-scenes
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «SQL Source Control and VSCode: Handling Git Conflicts», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.