In Introduction to Git, you discovered that Git is an intelligent system designed to preserve everyone’s production so no work is lost. This is because it’s not possible for Git to layer commits, or a snapshot of work, on top of each other. When you learned about Git branches, you read that there were multiple ways that Git avoids merge conflicts. While branches are one way to avoid merge conflicts, it’s still possible to encounter merge conflicts when using branches.
In this lesson, you will learn how to resolve merge conflicts with Git Branches. You will learn concepts such as merge conflicts, the `.gitignore` file, wildcards, as well as other concepts. You will also learn how to resolve merge branches using `git merge`, how to abort a merge using `git merge –abort` as well other important commands that you will encounter while dealing with merge conflicts in your data science work.
As you work through each concept, you’ll get to apply what you’ve learned from within your browser; there’s no need to use your own machine to do the exercises. The Python environment inside of this course includes answer-checking to ensure you’ve fully mastered each concept before learning the next.
- Learn abouit merge conflicts and when they occur.
- Learn about different techniques for resolving merge conflicts.
- Aborting a Merge
- Resolving Conflicts
- Resolving Multi-Line Conflicts
- Resolving Multiple Conflicts
- Accepting Changes From Only One Branch
- Ignoring Files
- Removing Cached Files