How to merge master into your branch | 1 min. tutorial

Опубликовано: 04 Сентябрь 2020
на канале: Carmelle Codes
48k
351

This tutorial shows you how to merge the master branch into another branch in VS Code so that you can keep your code in sync. When it comes to git merge versus git rebase, git merge is easier (in my opinion). This fast tutorial includes instructions for merging a branch into another branch, which comes down to the following:

- switch to branch that you want to merge into your branch, so you have a local copy of that branch on your system. take note of the branch name somewhere, like the Notes app
- switch back to your original branch
- open up a terminal and type `git merge [name-of-branch-you-want-to-merge-in]`

What this does is copy all the commits from master into your branch at one time. Simple and clean. If you run into merge conflicts, have no fear! Watch this tutorial for resolving merge conflicts in VS Code:


Thank you for watching!! Stay safe


Смотрите видео How to merge master into your branch | 1 min. tutorial онлайн без регистрации, длительностью 01 минут 31 секунд в хорошем hd качестве. Это видео добавил пользователь Carmelle Codes 04 Сентябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 48 тысяч раз и оно понравилось 351 людям.