# Git shows many file diff after test is executed

**URL:** <https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190>\
**Category:** Miscellaneous\
**Created:** [November 9, 2018, 5:35am UTC](https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190 "2018-11-09T05:35:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuki\_Oda](https://avatars.discourse-cdn.com/v4/letter/y/aca169/32.png) [@Yuki\_Oda](https://forum.katalon.com/u/Yuki_Oda)\
**Post date:** [November 9, 2018, 5:35am UTC](https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190/1 "2018-11-09T05:35:02Z")

</div>

We are managing Katalon project with Git.

When we execute a test, Katalon project produces many file diff, for example, last executed date.  
This makes difficult to manage git with multiple developers.

Is there a nice solution?

---

<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:** [November 13, 2018, 2:07pm UTC](https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190/2 "2018-11-13T14:07:24Z")

</div>

We exclude the run history from our git because it gets HUGE. We also branch per developer and merge to a master every so often. This might not be the best solution but is the one I am currently using with my team.

---

<div class="post-metadata">

**Author:** ![Ibus](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@Ibus](https://forum.katalon.com/u/Ibus)\
**Post date:** [November 13, 2018, 3:31pm UTC](https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190/3 "2018-11-13T15:31:52Z")

</div>

[https://git-scm.com/docs/gitignore](https://git-scm.com/docs/gitignore)

---

<div class="post-metadata">

**Author:** ![Drunda\_Nibel](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Drunda\_Nibel](https://forum.katalon.com/u/Drunda_Nibel)\
**Post date:** [November 13, 2018, 5:05pm UTC](https://forum.katalon.com/t/git-shows-many-file-diff-after-test-is-executed/14190/4 "2018-11-13T17:05:41Z")

</div>

I’m afraid, the hint to the .gitignore file doesn’t help here, because this execution date is also constantly updated in Test Suite files (\*.ts), which of course may contain relevant changes as well, which then of course should be committed.

When I came across this problem myself a few days ago, I found these helpful threads to Git filters, which I will probably also introduce in my Katalon projects:

- [https://stackoverflow.com/questions/6557467/can-git-ignore-a-specific-line/6557522](https://stackoverflow.com/questions/6557467/can-git-ignore-a-specific-line/6557522)
- [https://stackoverflow.com/questions/16244969/how-to-tell-git-to-ignore-individual-lines-i-e-gitignore-for-specific-lines-of](https://stackoverflow.com/questions/16244969/how-to-tell-git-to-ignore-individual-lines-i-e-gitignore-for-specific-lines-of)
