# Git Merge conflict com.kms.katalon.composer.testcase.properties

**URL:** <https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [April 1, 2019, 6:52pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263 "2019-04-01T18:52:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_L](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/b_l/32/976_2.png) [@B\_L](https://forum.katalon.com/u/B_L)\
**Post date:** [April 1, 2019, 6:52pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/1 "2019-04-01T18:52:34Z")

</div>

Ever since Katalon’s recent update to version 6.0.5 I can no longer merge our changes. We each have our own branch and will merge up into a master. However everytime a git merge is attempted we are now getting this error:

```auto
Auto-merging settings/internal/com.kms.katalon.composer.testcase.properties
CONFLICT (content): Merge conflict in settings/internal/com.kms.katalon.composer.testcase.properties

```

I have no idea how to resolve this…

---

<div class="post-metadata">

**Author:** ![Kumar.Sushobhan](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@Kumar.Sushobhan](https://forum.katalon.com/u/Kumar.Sushobhan)\
**Post date:** [April 2, 2019, 12:04pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/2 "2019-04-02T12:04:36Z")

</div>

$ git pull  
remote: Counting objects: 8, done.  
remote: Compressing objects: 100% (8/8), done.  
remote: Total 8 (delta 5), reused 0 (delta 0)  
Unpacking objects: 100% (8/8), done.  
From [https://codecloud.web.att.com/scm/st\_nmic/automation\_nmic](https://codecloud.web.att.com/scm/st_nmic/automation_nmic)  
8aef845…b1276ed Development -\> origin/Development  
error: Your local changes to the following files would be overwritten by merge:  
settings/internal/com.kms.katalon.composer.testcase.properties  
Please commit your changes or stash them before you merge.  
Aborting  
Updating 26f4db5…b1276ed

Is this the error you getting ?

---

<div class="post-metadata">

**Author:** ![B\_L](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/b_l/32/976_2.png) [@B\_L](https://forum.katalon.com/u/B_L)\
**Post date:** [April 2, 2019, 1:50pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/3 "2019-04-02T13:50:59Z")

</div>

no like the above, here is a screenshot of git bash

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/6/67f67f6501b5acf6098b78532d822feade0c4905.png)

---

<div class="post-metadata">

**Author:** ![B\_L](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/b_l/32/976_2.png) [@B\_L](https://forum.katalon.com/u/B_L)\
**Post date:** [April 3, 2019, 6:35pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/4 "2019-04-03T18:35:05Z")

</div>

Looks like the problem with “settings/internal/com.kms.katalon.composer.testcase.properties”  
Is that the time stamp which is a comment at the top keeps changing everyday. This is causing a merge conflict…would ignoring this in git cause an issue?

Looks like this:

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/c/c2a13c4de23c926f740212161615057d081142ef.png)

by force updating the first line I was able to merge again. If I ignore and the testCaseTag stuff changes, is this going to cause issues? I’m not sure when this file was added but I never had merge conflicts on this until the most recent version of katalon.

---

<div class="post-metadata">

**Author:** ![zbeck008](https://avatars.discourse-cdn.com/v4/letter/z/9de053/32.png) [@zbeck008](https://forum.katalon.com/u/zbeck008)\
**Post date:** [April 10, 2019, 11:42pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/5 "2019-04-10T23:42:47Z")

</div>

I have this same error. One thing you can do it right click and choose “Replace with HEAD Revision”. Then go ahead and commit. BUT, you dont get the latest timestamped version. That will only matter if you make a change like a P1,P2 label or something similar and you actually WANT that change in the settings. I am still waiting for a Katalon explanation. I would like it to simply disregard the datestamp as a valid change.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 11, 2019, 1:03am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/6 "2019-04-11T01:03:05Z")

</div>

You should insert the following line into your `.gitignore` file:

```auto
settings/

```

And you want to remove the files under the `settings` directory out of the repository by

```auto
$ cd $projectDir
$ git rm -r --cached settings

```

Then you will have no more conflicts of the contents under the `settings` directory.

---

<div class="post-metadata">

**Author:** ![B\_L](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/b_l/32/976_2.png) [@B\_L](https://forum.katalon.com/u/B_L)\
**Post date:** [April 11, 2019, 1:04am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/7 "2019-04-11T01:04:03Z")

</div>

I was actually thinking about doing that, that is not gonna cause any issues is it? like do I need the other line from that file for any reason?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 11, 2019, 1:12am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/8 "2019-04-11T01:12:19Z")

</div>

> [@B\_L](#):
>
> Is that the time stamp which is a comment at the top keeps changing everyday. This is causing a merge conflict…would ignoring this in git cause an issue?

I think it is harmless. I think that the `settings` directory is intentended TO BE IGNORED by Git.

Why do I think so? What is my reason to be confident? Please have a look at the following issue.

> [@Why changes of \<lastRun\> info in a \*.ts file conflict --- how to prevent it](http://forum.katalon.com/t/why-changes-of-lastrun-info-in-a-ts-file-conflict-how-to-prevent-it/14872):
>
> I have made a demo project on GitHub for this issue https: [//github.com/kazurayam/GitConflictsOfLastRunInTsPrevented](https://github.com/kazurayam/GitConflictsOfLastRunInTsPrevented)Problem to solve When you create a Test Suite Test Suite/TS1 in a Katalon Studio project, Katalon Stuido will make \<projectDir\>/Test Suites/TS1.ts file. Content of the file will look like, for example, as follows: \<?xml version="1.0" encoding="UTF-8"?\> \<TestSuiteEntity\> \<description\>\</description\> \<name\>TS1\</name\> \<tag\>\</tag\> \<isRerun\>false\</isRerun\> \<lastR…

In Dec 2018 I experienced Merge conflicts. I investigated it and proposed a fix to Katalon Team. They took my points and changed Katalon Studio a bit. They introduced the `settings` directory where timestamp-sort of ‘changing every time test runs’ data is stored, and these data are intended to be ignored, I believe.

* * *

@Katalon team,

I would like you to state that the `settings` directory should be .gitignored.

---

<div class="post-metadata">

**Author:** ![zbeck008](https://avatars.discourse-cdn.com/v4/letter/z/9de053/32.png) [@zbeck008](https://forum.katalon.com/u/zbeck008)\
**Post date:** [April 11, 2019, 4:58pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/9 "2019-04-11T16:58:34Z")

</div>

Im new to automation and have been using Katalon for only a few weeks. I’m not using any local Git repo and so Im not sure how to edit it by adding the settings/ comment you mentioned above. Is there a way through Katalon to do this? I would expect a right-click option to add it to the ignored files, but there isnt one.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 11, 2019, 9:06pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/10 "2019-04-11T21:06:28Z")

</div>

zbeck008,

c/c @YoungNgo, @devalex88

> [@zbeck008](#):
>
> Im new to automation and have been using Katalon for only a few weeks. I’m not using any local Git repo and so Im not sure how to edit it by adding the settings/ comment you mentioned above. Is there a way through Katalon to do this? I would expect a right-click option to add it to the ignored files, but there isnt one.

Good question!

It may be surprising but Katalon Studio does NOT provide any means for you to edit `.gitignore` file located in the project directory. You have to use other text editor of your choice (Note pad, Atom, emacs, vim, etc).

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 11, 2019, 9:10pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/11 "2019-04-11T21:10:31Z")

</div>

I have ever posted some in this Forum asking Katalon Team to let me edit `.gitigore` and `README.md` files.

> [@Want to edit .gitignore and README.md in Katalon Studio](http://forum.katalon.com/t/want-to-edit-gitignore-and-readme-md-in-katalon-studio/12268):
>
> Almost all of my Katalon Studio projects have .gitignore file and README.md file as the following screenshot shows. [Image: https://s3.amazonaws.com/katalon-forum/editor/c8/q97wvwwnfo2j.png] I put these two files because I save the project into GitHub. But I can not edit .gitignore and README.md with Katalon Studio. It’s a shame, I have to open another editor such as Emacs or Atom in order to edit README.md. I hope Katalon Studio enables me to edit README.md with markdown preview plugin such…

> [@Eclipse Project Explorer tab in Katalon Studio](http://forum.katalon.com/t/eclipse-project-explorer-tab-in-katalon-studio/19116):
>
> I want to edit .gitignore and README.md of a Katalon project in Katalon Studio. To accomplish this, I want to open an Eclipse Project Explorer in Katalon Studio as the following image shows: [ProjectExplorerInKatalonStudio] Project Explorer can be graded “for Geeks only”. Each project settings would have an option to enable/disable this. The default would be “disabled”. How do you like it? Terrible idea?

Katalon team listed this requirement into their back log.

> <https://github.com/katalon-studio/katalon-studio/issues/94>
>
> As an advanced user, I want to be able to open, read, edit and save text files s…uch as Readme.md or .gitignore.
> 
> http://forum.katalon.com/t/eclipse-project-explorer-tab-in-katalon-studio/19116

but there seems to be no progress yet.

---

<div class="post-metadata">

**Author:** ![automation1](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@automation1](https://forum.katalon.com/u/automation1)\
**Post date:** [September 11, 2019, 6:11pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/12 "2019-09-11T18:11:56Z")

</div>

I don’t agree that ignoring the settings directory is harmless. If you use certain settings like quitting the browser after test case execution or analytics then all of this information is lost when repo’s are cloned/pulled. I am the main person developing scripts and I want everyone to get the settings that I intend for everyone to use with each clone or pull.

With that said, it seems very odd that these files require a date/time stamp as a comment inside the file when the system already stores this data.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 12, 2019, 12:24am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/13 "2019-09-12T00:24:46Z")

</div>

> [@automation1](#):
>
> I don’t agree that ignoring the settings directory is harmless. … I am the main person developing scripts and I want everyone to get the settings that I intend for everyone to use with each clone or pull.

I would take your point.

Whether to write `settings/` in the `.gitignore` file — it depends on each uses’ cases.

Once @devalex88 wrote

> [@.gitignore template for Katalon Studio](http://forum.katalon.com/t/gitignore-template-for-katalon-studio/9793/21):
>
> Thank you all for the feedback. In 6.4.0 .gitignore will be added to the project template.

then we should check whether the .gitignore in the project template in 6.4.0 includes `settings/` or not.

---

<div class="post-metadata">

**Author:** ![soichi.takamura](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@soichi.takamura](https://forum.katalon.com/u/soichi.takamura)\
**Post date:** [March 5, 2020, 10:32am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/14 "2020-03-05T10:32:41Z")

</div>

I’m using Katalon Studio 7.2.1 and getting the same error. Thanks for this thread, it’s very one that I’m facing.

I agree with @automation1 . I’m a maintainer who lets QAs increase test cases. I’d like them to share the basic setting among them.

Maybe .gitignore ing “settings” directory is just a workaround and we should get rid of the root cause?

---

<div class="post-metadata">

**Author:** ![anuradha](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anuradha/32/16103_2.png) [@anuradha](https://forum.katalon.com/u/anuradha)\
**Post date:** [April 6, 2020, 12:47pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/15 "2020-04-06T12:47:06Z")

</div>

Hello,

Has anyone been able to resolve this issue. I am having the same problem with katalon 7.2.1.

Thanks

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 7, 2020, 8:12am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/16 "2020-04-07T08:12:29Z")

</div>

> [@soichi.takamura](#):
>
> Maybe .gitignore ing “settings” directory is just a workaround and we should get rid of the root cause?

No. There is no hidden mysterious root cause.

Each members of your team inevitably modify files under the settings directory. If you have files under the “settings” included in the repository (in other words you do not .gitignore them), then everyone will experience merge conflicts.

.gitignore ing “settings” directory is the only solution you can take.

---

<div class="post-metadata">

**Author:** ![soichi.takamura](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@soichi.takamura](https://forum.katalon.com/u/soichi.takamura)\
**Post date:** [April 8, 2020, 3:44am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/17 "2020-04-08T03:44:47Z")

</div>

I’m sort of away from Katalon though, the conflict occurred despite my terminal command `git pull` succeeded. I got stuck using Git integration from GUI unless I .gitignored and that’s nothing but a problem.

Additionally, don’t you think it’s a common scenario for engineers to provide a shared setting to automation QAs? I think there’s room to improve.

Hope it helps 😀

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 8, 2020, 3:51am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/18 "2020-04-08T03:51:54Z")

</div>

> [@soichi.takamura](#):
>
> the conflict occurred despite my terminal command `git pull` succeeded

If you have any confict, then “git pull” will never succeed. Right?

I do not understand what you mean here. Any screenshot?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 8, 2020, 3:58am UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/20 "2020-04-08T03:58:41Z")

</div>

> [@soichi.takamura](#):
>
> Additionally, don’t you think it’s a common scenario for engineers to provide a shared setting to automation QAs? I think there’s room to improve.

Then what is your idea?

Aren’t you willing to devote yourself to solve your itchy problem?

* * *

I suppose 2 actions would suffice:

1. .gitignore files under settings/
2. Write a document in natural language (in English, по русски, 日本語で etc) attached with some screenshots; the doc instructs QA workers how they should setup Katalon Studio on their own PC; and call a hands-on session of 1 hour long.

* * *

By the way, let me show you my previous post concerning git merge/pull conflicts in Katalon Studio project in the hope that it shows you how an issue concerning git confits is complicated.

- [Why changes of \<lastRun\> info in a \*.ts file conflict --- how to prevent it](http://forum.katalon.com/t/why-changes-of-lastrun-info-in-a-ts-file-conflict-how-to-prevent-it/14872)

---

<div class="post-metadata">

**Author:** ![anuradha](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anuradha/32/16103_2.png) [@anuradha](https://forum.katalon.com/u/anuradha)\
**Post date:** [April 22, 2020, 12:28pm UTC](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263/21 "2020-04-22T12:28:20Z")

</div>

settings/ is already in my gitignore file but still this error keeps on appearing when i merge my changes and this was not happening before. I am using katalon 7.2.1. Has something change?

[Next page](https://forum.katalon.com/t/git-merge-conflict-com-kms-katalon-composer-testcase-properties/22263.md?page=2)
