Conflicts
Solving conflicts in our code.
Conflicts
Solving conflicts in our code.
0
0
Checkbox to mark video as read
Mark as read

It's possible that when we try to perform a merge we encounter conflicts that prevent us from completing the action. This happens when there are commits with changes on the same lines of code in both branches.

Let's look at an example where we have two branches named branch_one and branch_two and we edit the same line of code in both branches. To do this:

  • We create branch_one from master.
  • We create branch_two from branch_one.
  • We edit our code and make a commit in branch_two.
  • We switch to branch_one and edit the same part of the code but with different changes. Then, we make a commit.

The result is a change in each branch made on the same line of code.


Continue reading

Access to all the content with our plans.

Basic Plan

FREE

Start Now
  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions
Monthly
Yearly

Plan logo

-

Unlimited access to the whole content

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions

Stripe secure payment methods
Plan logo

-

Unlimited access to the whole content

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions

Stripe secure payment methods
Plan logo

-

Solve your doubts at any level

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • 2 Question submissions per week

Stripe secure payment methods
Plan logo

-

Solve your doubts at any level

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • 2 Question submissions per week

Stripe secure payment methods

0 Comments

Join the community to comment
Sign Up
I have an account
Be the first to comment

Accept Cookies

We use cookies to collect and analyze information on site performance and usage, in order to provide you with better service.

Check our Privacy Policy