Skip to content

When you both changed the same request

Ann and Bob both changed the request Login since they last pulled. Ann sent hers first. Bob chooses Pull, and the Git view shows Both you and someone else changed these, with Request “Login” in the list.

Git brought in all of Ann’s other changes. If Ann and Bob changed different fields of Login, for example Ann the URL and Bob a header, korAPI puts both changes together by itself and nothing waits. Only the fields you both changed wait for a choice. Commit & Push is off until each request is settled.

  1. Choose Compare Fields next to the request. korAPI lists only the fields you both changed, such as URL.
  2. For each field, pick Mine (Bob’s value) or Theirs (Ann’s value). Removed means that side removed the field.
  3. Choose Use These.

Every field only one of you changed is kept as it is. Some files cannot be compared field by field. Then korAPI says This file can only be kept whole. Use Keep Mine or Take Theirs for them.

  • Headers, query parameters and variables are matched by name. If you both changed their order, your order is kept.
  • Checks and flow steps count as one field. If you both changed them, you pick one side’s whole list.
  • A variable that one of you made secret counts as one field. You pick the secret or the plain value.
  • Files that are not requests, environments or settings, such as .gitignore, can only be kept whole.

For each request in the list:

  • Keep Mine: keep Bob’s version. Ann’s change to this request is dropped.
  • Take Theirs: take Ann’s version. Bob’s change to this request is dropped.

When the last one is settled, korAPI finishes the Pull. Then choose Commit & Push, so Ann gets the result too.

If one of you deleted the request and the other changed it, keeping the side that deleted it deletes it.

Talk first. Ask Ann what she changed, and use Compare Fields to see both values. If you both need part of one value, such as a script, pick Theirs for it, then make your change again in the app, save, and Commit & Push.

Cancel Pull puts everything back as it was before the Pull, with your changes. Use it when you need to ask your teammate first. Pull again later.