# Which files to ignore when committing changes (gitignore)

**URL:** <https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [May 17, 2019, 10:28am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570 "2019-05-17T10:28:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alberto.bottone.kine](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alberto.bottone.kine](https://forum.katalon.com/u/alberto.bottone.kine)\
**Post date:** [May 17, 2019, 10:28am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/1 "2019-05-17T10:28:02Z")

</div>

Hi all, as with the topic, i’d like to know precisely which files i got to ignore when i want to do a commit to my repo, so also to create a correct gitignore file.

More explicitly, i’d like to know if i have to ignore the file “.project”.

Thanks in advance for the answers.

---

<div class="post-metadata">

**Author:** ![hpulsford](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/hpulsford/32/2985_2.png) [@hpulsford](https://forum.katalon.com/u/hpulsford)\
**Post date:** [May 17, 2019, 10:38am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/2 "2019-05-17T10:38:11Z")

</div>

There are many templates that you can find, it really comes down to your specific project but a good template to follow that i follow is

```auto
*.class
*.swp
Libs/TempTestCase*
Libs/TempTestSuite*
bin/lib/TempTestCase*
Reports/

```

---

<div class="post-metadata">

**Author:** ![alberto.bottone.kine](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alberto.bottone.kine](https://forum.katalon.com/u/alberto.bottone.kine)\
**Post date:** [May 17, 2019, 10:52am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/3 "2019-05-17T10:52:55Z")

</div>

Ok thanks for your reply.

So what for the “.project” file in your opinion ? Should i take or leave it ?

---

<div class="post-metadata">

**Author:** ![hpulsford](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/hpulsford/32/2985_2.png) [@hpulsford](https://forum.katalon.com/u/hpulsford)\
**Post date:** [May 17, 2019, 11:02am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/4 "2019-05-17T11:02:23Z")

</div>

Ive seen lots of people use the .project in there git.ignores and it seems to cause them no issues so its really up to you. 🙂

---

<div class="post-metadata">

**Author:** ![alberto.bottone.kine](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alberto.bottone.kine](https://forum.katalon.com/u/alberto.bottone.kine)\
**Post date:** [May 17, 2019, 11:13am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/5 "2019-05-17T11:13:41Z")

</div>

Thanks a lot ! 🙂

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [May 17, 2019, 4:09pm UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/6 "2019-05-17T16:09:00Z")

</div>

If you using the ashot plugin then you may want to ignore the screenshots in Screenshots folder created by that plugin

Screenshots/

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:48am UTC](https://forum.katalon.com/t/which-files-to-ignore-when-committing-changes-gitignore/25570/7 "2022-08-08T07:48:59Z")

</div>

Archived on August 8, 2022, 7:48am UTC


