.gitignore file should include .cache/

I am using v8.2.0beta.

When I created a new WebUI project, it generated a .gitignore file of the following content:


.gradle

bin

Reports

Libs

output

!output/.gitkeep
build

.classpath

.project

I believe the following line should be added here.

.cache

because @duyluong mentioned it

1 Like

Hi @kazurayam,

We will have a ticket corresponding to this issue and you will be updated as it is rolled out,
Thanks for your information.

Regards,
Nam Nguyen.

Can you please let us know how to get rid of the .cache folder that have already gotten to GitHub?

see

Thank you, kazurayam. Still, I’d like to get advise from KATALON (who didn’t let us know that .cache should be ignored in the first place) on how exactly to get rid of the .cache folder that has already gotten into GitHub REMOTE REPOSITORY (not just commited to Git locally) and is now in multiple local Git repositories.

@duyluong

you are wanted

By the way, should this file incuded in .gitignore

image

It looks like it gets updated all the time, which is not a problem if there is just one SDET is working on some Katalon project. But what if there are multiple SDETs are working on the same project?

Duplicates with the years old post:

1 Like

Thank you, @kazurayam! Could you please just share the entire .gitignore file you use to save some time? ))

Here is what I’m currently using (I don’t remember where I got it) but unfortunately .cache and .settings already got into GitHub:

image

No, you would not need it.

You should go with it. If you find anything to improve, just improve it yourself. That is the way you should take. It would save time most!

If you want to remove the files already committed into the repository, do as follows in the command line:

$ cd <projectDir>
$ git rm -r --cached .settings/
$ git rm -r --cached .cache/

Don’t you know how to do it in the command line? — Well I always use git in the ommand line. I don’t know how to do it in Katalon Studio. :wink:

1 Like

Are you aware that there are 2 folders in a Katalon project

  • .settings/
  • settings/

These are different.

1 Like

Now I do, @kazurayam. Thanks again! It looks like .settings/ are for Eclipse and settings/ for Katalon per se.